Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control to enter duration
Message
From
30/05/2007 02:47:08
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01228473
Message ID:
01229214
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
>>If your store hhmm and you know it, then the minutes become int(hhmm/100) * 60 + mod(hhmm,100)
>>[ or use a view ]
>>
>>You can convert it to minutes - by the control or by the record rule. You could then have another control to display the minutes in hh:mm by simply change the controlsource
>>[ or use a view ]
>>
>>>
>>>Anyway, for now I put the problem aside and working on something else right now. It's also a good idea to go out and take some lunch...
>>
>>Keep me posted after you have found the other classes
>
>Hi Gregory,
>
>Ok, I think for this form txtTime class with my minor modifications to save data as an integer field in minutes would work. I actually already implemented it. The spinner class as is didn't work.
>
>It is very similar to what you proposed, so thanks again.

Hey, you're welcome

(1) Spinners look great, but when using the mouse it takes time
(2) Things in a book are not better per definition
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform