Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User clicks too fast on the toolbar
Message
De
23/11/1996 16:31:17
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
User clicks too fast on the toolbar
Divers
Thread ID:
00013273
Message ID:
00013273
Vues:
82
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform