Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
UltraDateTimeEditor - Roll AM/PM in time mode?
posted

I'm using the UltraDateTimeEditor as a time editor

(MaskInput="{LOC}hh:mm tt"; FormatString="hh:mm tt"; SpinButtonDisplayStyle=Always;)

and would like the AM/PM to change when I click the spin buttons (for the hour portion and go from 11->12 and 12->11. (I see this behaviour using the standard WinForms DateTimePicker control and would like to get the UDTE control to do the same.)

 

I initially tried to use the EditorSpinButtonClick() event and just manually track when the value changes from 11 to 12 but I am not receiving that event when I click on the spin buttons (this seems like a bug). Is there some flag I need to set in order to receive this event?

Anyone know how to get the AM/PM to roll?

 

Thanks,

- Josh

Parents Reply Children