Hi folks,
I've recently bumped into a small problem with the DateField/DateChooser 
interaction in Flex 4. With the selectedDate at null, I'd like to have 
the dropped down DateChooser display the current date, not the Epoch. Is 
there any easy way to do this without completely reimplementing the 
DateField class?

In addition, is there any easy way to control the DateChooser pop up 
with regards to clicking into the textInput and typing in a date? I've 
gotten access to the textInput via mx_internal and have set it to 
editable, but it seems fairly inflexible.. Am I correct in thinking that 
I'll need to set up a valueCommit handler and then adjust the selected 
date to mirror the textInput, or something along those lines? My 
tinkering has met with little success, so I'm sort of lost at this point.

I'm thinking the best option may just be to re-implement the DateField 
class in a way that meets my standards (editable textinput, chooser pop 
up only when clicked, that kind of thing) rather than trying to jury-rig 
a solution with the Adobe provided class. What solutions have you folks 
found to these sorts of problems?

-- 
Blaine von Roeder
Data Based LLC

Reply via email to