I'm using version 17.1.20171.2043
If I add an UltraTimeSpanEditor to a form and set it's Format to Hours I would expect to be able to type "1" and tab out of the editor and have it result in "1 hr".
Instead it defaults to "1 day".
I have been unable to find any override or cancel event handler that I can tap into to change this decision making.
Is there any way to have the control honor the Format property for the default unit?
Thank you for posting in our forum.
I suggest you handle BeforeExitEditMode event and convert the day value to the hour value if the current editor text only holds numbers.Please take a look at the attached sample and let me know if this works for you.
Thank you,Mihoko Kamiishi
Thanks very much - I was trying to intercept the text-to-timespan conversion and didn't thinking of grabbing the amount of parsed days and uising that to set hours/minutes/etc.