Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Valid vs. LostFocus
Message
From
09/04/2003 02:11:03
 
 
To
09/04/2003 01:52:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00775350
Message ID:
00775353
Views:
23
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform