Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Valid vs. LostFocus
Message
De
09/04/2003 02:11:03
 
 
À
09/04/2003 01:52:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00775350
Message ID:
00775353
Vues:
22
Ric, Valid fires before LostFocus and determines if the control will actually lose focus at all. If Valid returns .F. the focus remains with the control. If it returns .T. focus can be lost and the LostFocus can fire. Its a part of the event sequence model which helps (hopefully) to program in a logical manner.



>I have seen some interesting code lately where instead of code in the valid method; the programmer is using lost focus.
>
>What are the advantages/disadvantages of such methodology? What is preferred? Why?
>
>Thanks
>
>Ric
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform