Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Generating a wait state.
Message
From
23/11/1998 16:02:37
George Lee
Microcomputer Engineering Services, Llc
Huntington Beach, California, United States
 
 
To
20/11/1998 20:39:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00158843
Message ID:
00160651
Views:
20
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform