Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stop a method
Message
 
À
12/11/1998 10:26:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00156970
Message ID:
00156972
Vues:
32
Michel,
Try putting DOEVENTS within your loop, and have your cmdCancel.Click() event set a property, like 'lCancelled'. Then, before continuing with the process, verify that lCancelled is FALSE.
HTH
Mark

>User want to be able to stop process when they click on a "cancel" button for exemple. I am able to stop a method with "ON KEY LABEL" command but i am not able to stop with mouse click on a button or command ON KEY LABEL LEFTMOUSE. Is ther e a way to put a button cancel on a form that will stop a task.
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform