Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Valid is not fired
Message
 
À
12/02/1997 13:21:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00020085
Message ID:
00020217
Vues:
57
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform