Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control to enter duration
Message
 
 
To
25/05/2007 10:15:34
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
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:
01228503
Views:
21
>>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.
>
>One control you can use is datetimepicker.
>You can also handle it in pure VFP with no activex (ie: Datetimecontrols in FoxyClasses have both datatimepicker and pure VFP versions).
>Cetin

Thanks. I need it for duration, not for the actual date time, e.g. I need to enter something like 2 hours 35 minutes. I'm thinking something as simple as two textboxes would suffice.

Thanks again.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform