Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Valid is not fired
Message
 
To
12/02/1997 13:21:08
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00020085
Message ID:
00020217
Views:
52
>>>It does mean that code that should execute when you tab out of the control belongs in the LostFocus() method. But then _really_ it always did, just you could get away with muddy thinking about the partitioning of hte responsibilities of the methods :-)
>>
>>No, VALID() fires at all time as before but not in this specific situation.
>
>
>Thanks, I saw he'd been using his foundation for so long he forgot what it did and thought the good behaviour he'd programmed into it wasn't what FoxPro always did...
>
>I'm getting like that too. I expect VFP controls to do what my foundation controls do and get surprised when testing things for other people with the base classes :-)
>
>That's the power of VFP.

Yes ! But it also points out, (and everyone was kind enough not to mention it) that the method naming convention _Valid allowed this oversight. Fortunately, we are very early in our conversion process, and can easily rename. Probably _ValidChange.
Glenn
Previous
Reply
Map
View

Click here to load this message in the networking platform