Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control to enter duration
Message
From
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:
01228493
Views:
21
This message has been marked as a message which has helped to the initial question of the thread.
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform