Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exit from the loop
Message
 
 
To
27/03/2000 10:57:36
Amit Abhangrao
Charmi Software Exports
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00350750
Message ID:
00350800
Views:
22
>Hi All,
>
> From the one running process (Eg. do while loop), Can i exit on pressing Cancel button? I can do it for Escape button using InKey() function. But i want to do it by pressing any button.
>
do while .T.
   if chrsaw() then
      exit
   endif
enddo
CHRSAW() checks for any key in the keyboard buffer.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform