Can anyone tell me how to get the calendar display type property to select todays date for a date in a field that has no date value? The date that is selected is whatever date was last encountered by the calendar pop up. Is this a lack of understanding on my part, a bug, or a feature request?
DFehrenbach:
Can anyone tell me how to get the calendar display type property to select todays date for a date in a field that has no date value? The date that is selected is whatever date was last encountered by the calendar pop up. Is this a lack of understanding on my part, a bug, or a feature request?
I’ve noticed the calendar does not default to today on blank date fields. I would write a method for onFocusGained that will set the field to todays date. See if that makes the calendar start on the current date.
You could then remove the date if you wanted it to be blank. I haven’t tried this so you’ll have to test.
i have changed the datachooser..
If the value == null then it will show the current date..
also added a button “Today” that will jump to the current date.
Thanks Johan! Will it be available in the next beta, or in the final?
Will be in Servoy 2.0b6