Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FastDoEvent
Message
 
À
23/04/1999 04:45:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00211421
Message ID:
00211436
Vues:
38
Here is some sample code

Do While Thisform.KeepLooping
oCurrentObject = Sys(1270)
If oCurrentObject.Name = "cmdCancel"
DoEvents
Endif

*/ Your code that gets executed...
EndDo

You only want to invoke DoEvents when your mouse is over the cancel button. This will help preserve performance. The exit button can set the keeplooping property to .F..

HTH...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform