Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortcut Key - Strange Behavior
Message
De
02/11/1998 10:05:25
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00153435
Message ID:
00153487
Vues:
19
Hiya Tom ----

1. What is the nature of your flag? Is it a variable or a property? If it's a variable, there may be a scope issue where it is not being recognized external to the form.
2. What's firing an interactive change? Do you mean the Click() of the Save button?

>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.
>
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform