Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LostFocus and GotFocus events
Message
 
À
15/12/1997 12:35:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00065970
Message ID:
00065974
Vues:
27
>Is there a way within the LostFocus event of a control on a form to determine which control received focus?
>
>I am trying to have a textbox control react differently depending on how it Lost Focus.

Argh. This sounds ugly: are you sure you want to do this? :-)

The only thing I can think of is to set a Form.LastControl property in the LostFocus of all your textboxes, and then in the GotFocus, check Form.LastControl to see if it's the one you want to affect. Then, you can call your textbox's custom AfterLostFocus control.

Like I said: ugly. :-)
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform