Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lost Focus
Message
De
04/12/1999 18:58:07
 
 
À
04/12/1999 18:53:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00298783
Message ID:
00298795
Vues:
11
>>When a control on a form receives focus, is there a way to determine which control lost focus just prior to that event?
>
>You can trap it in the When - thisform.ActiveControl, if valid, still points at the last control. Thisform.ActiveControl may not be valid at that point (if this is the first control given focus when the form becomes active, for example) and should be tested using TYPE('thisform.activecontrol')

Generally speaking, it works if you use mouse and fails when you use Tab, i.e. it's useless.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform