>Hi everybody,
>
>I have an integer field for duration. I assume that the duration is entered in minutes.
>
>User wants an ability to enter hours and minutes (I'm also wondering, what if it takes days?)
>
>Now, I assume I have to use two unbound textboxes (one for hours, one for minutes) and update my field manually.
>
>Do you have other ideas of handling this problem or some suggestions? I'm not sure I like using spinners.
>
>Thanks in advance.
___________
Nadya,
One textbox will do
It holds one integer
Set
- its value to 0
- format to RL
- Inputmask to 99:99
- Valid event to
if( (int(this.value/100) > 24) or ( mod(this.Value,100) > 59) )
wait window nowait '00:00 - 23:59'
return 0
endif
Easily 'upgraded' to hh:mm:ss ( 99:99:99 )
Gregory