Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When/Valid/Gotfocus/LostFocus
Message
 
À
10/09/1999 07:45:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00263291
Message ID:
00263295
Vues:
16
>Does anyone have a good explanation of the reasons to use GotFocus instead of When or LostFocus instead of Valid?
>
>TIA

Well if you look at the descriptions of the GotFocus it states that this will occur when an object receives focus (you just landed on it) the when states it a little differently as this occurs before a control receives focus. So to me if I wanted to know a little about where the user came from I could know in the when event. If I did not care the I would use the got-focus event. Also I think the When could be a carry over from the past and got-focus could be its replacement.

My two cents
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform