Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement