Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortcut Key - Strange Behavior
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Shortcut Key - Strange Behavior
Divers
Thread ID:
00153435
Message ID:
00153435
Vues:
46
In the interactive change I set a flag that triggers my save event when the save button is pressed. This works just fine. On the menu I have a Save option [Ctrl+S] that has code like oMyForm.CmdSave.Click(). The code is executed but for some reason my flag flips to false and nothing is saved. If I trace the code it DOES work as long as my break is just before the menu fires the Click event. I've tried adding carefully placed FLUSH, DOEVENTS, autoyield, etc., since it seems to be a timing issue with no luck.

Any Ideas?
Thanks, Tom
-TomC
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform