Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shortcut Key - Strange Behavior
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Shortcut Key - Strange Behavior
Miscellaneous
Thread ID:
00153435
Message ID:
00153435
Views:
48
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
Next
Reply
Map
View

Click here to load this message in the networking platform