Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sun in Progress bar
Message
De
17/06/2010 14:19:48
 
 
À
17/06/2010 13:55:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01469460
Message ID:
01469469
Vues:
61
Most progress bars have high value, low value, and current value properties. So, just set low value = sun rise, high value to sunset, and current value = current time. The progress bar does the rest.

>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
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform