Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sun in Progress bar
Message
 
To
17/06/2010 13:55:03
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01469460
Message ID:
01469465
Views:
65
>Dear Experts
>
>I want to display Sun Position with progress bar, I mean how much time is left to sun set.
>
>Explanation:
>Sun rises on=05:13
>Sun sits on=07:18
>Current time=03:44
>
>Now we convert time in seconds
>
>Sun rises on=18780
>Sun sits on=69480
>Current time=56668
>
>Day left?
>69480-56668=12812
>
>Progress bar first value is=56668
>Progress bar first value is=69480
>
>How to display 12812 portion on progress bar?
>
>How to devide values for progress bar?
>
>Please help
ProgressBar.Min   = 18780
ProgressBar.Max   = 69480
ProgressBar.Value = 56668
Assuming that you use MS ProgressBar ActiveX.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform