Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lost Focus
Message
De
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:
00298792
Vues:
12
>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')
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform