I have a requirement for a time (hours and mins) field which could take in positive as well as negative values, also its not limited to 24 hours.
I tried emulating the above using the UltraDateTimeEditor, but failed.
Then i used the MaskedEditEdit with a mask +nn:nn and did some validations on the mins entry to be less than 60. Its alrite for positive values but not good for negative values.
I am not sure whether my approach is right or wrong. Is there are better and easier way ??
If you need it to accept negative numbers, you would have to use a mask like "-nn.nn".
If that does not work, then I don't see any other way.
Thanks for the reply.
Since this is a time field, i had to put some validations on the ValueChanged event, to restrict the minutes entry to max of 59. It works for me.