Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Generating a wait state.
Message
De
23/11/1998 16:02:37
George Lee
Microcomputer Engineering Services, Llc
Huntington Beach, Californie, États-Unis
 
 
À
20/11/1998 20:39:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00158843
Message ID:
00160651
Vues:
21
>I got it now. :) Here's an idea:
>
>Use a timer instead of your DO WHILE NOT llCommandButton ... ENDDO.
>
>In the timer's TIMER method:
>
>IF CHRSAW()
> *-- There still are chars in the keyboard buffer.
> * Do nothing... or do something to see why the
> * chars are still there... etc.
>ELSE
> *-- Turn off the timer and:
> pFillTextBoxes() && Or whatever you want to do while not stuffing keys in the keyboard buffer...
> *-- Turn on the timer.
>ENDIF
>
>Use a timer with an Interval of 200 or higher.
>
>I didn't try it, but it may work.
>
>Vlad
>

I've heard that timers can be unreliable though. Is that true?

Dan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform