Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
User clicks too fast on the toolbar
Message
From
23/11/1996 16:31:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
User clicks too fast on the toolbar
Miscellaneous
Thread ID:
00013273
Message ID:
00013273
Views:
78
I just discovered something related if we click too fast on the toolbar before the form finish loading.

My Baseform::Activate(), in some occasions, will activate the enable of some commands on the toolbar. So, when the form starts loading from the Load() event, the commands are .Enabled=.F. on the toolbar. So, if I click on a command on that toolbar while the form has not finish processing the Activate(), I have the situation where the action of that command is executing and my form Activate() is not finish.

So, I tried putting oApp.oToolbar.Enabled=.F. in my form Load() and oApp.oToolbar.Enabled=.T. on my last line of form Activate() but this didn't help. I am still able to make the command action execute before the Activate() finish.

Any comments?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform