Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 5.0 debugger problems
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00084745
Message ID:
00085141
Vues:
36
Ed,

Buttons in toolbars do not get focus, so they don't cause a form control to lose focus. That's why the code like _screen.ActiveForm.ActiveControl.SetFocus() is required to get the current edit committed to the ControlSource.

>When the toolbar button is pushed (or a menu control, for that matter), should the active control lose focus anyway? Or is it proper that the "clicked" method occur first, then any other methods for the previously-active control?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform