Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Move focus from toolbar textbox to active form control
Message
De
07/06/2005 16:36:22
 
 
À
07/06/2005 16:27:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01021089
Message ID:
01021128
Vues:
18
Hi Greg,

> I believe the ActiveForm is the Toolbar.

This does not appear to be the case. ActiveForm.Name and ActiveForm.ActiveControl do not refer to the toolbar or its active control, but rather the form/control that most recently had focus. You can use ThisForm to refer to toolbar within any of its hosted control's methods.

> You would need to save a reference to the last active form (in the Deactivate Event) to a custom property.

A form doesn't appear to have a Deactivate() event when focus moves to a toolbar.

Thanks for trying! :)

Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform