Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exit from the loop
Message
 
 
À
27/03/2000 10:57:36
Amit Abhangrao
Charmi Software Exports
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00350750
Message ID:
00350800
Vues:
23
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform