Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rewinding Through Records
Message
De
17/05/1998 05:22:34
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
16/05/1998 10:12:18
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00099920
Message ID:
00099968
Vues:
24
>In your prev and next buttons put something like this
* Prev.Mousedown event
>if nButton = 1
>  now = seconds()
>  do while !bof() and mdown()
>    if seconds() - now > 1
>	skip -1
>	thisform.refresh
>* Update other nav buttons as necessary
>	now = seconds()
>    endif
>  enddo
>endif
Cetin

One thing about checking for seconds() - don't test this approach around midnight. I've actually had it once, when the value of Now was something less than a second before midnight, and the seconds() reset itself to a little above zero. Never went out of the loop.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform