Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetFocus() not allowed from Valid() anymore
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00011464
Message ID:
00011668
Vues:
38
>>>I've just discovered that SetFocus() is not allowed from a Valid() event anymore in Visual FoxPro 5.
>>>
>>>Take note of it if you have something like that in your framework. :)
>>
>>That's the concept they've incorporated into VFP from VB, BTW.
>
>That's interesting. Visual FoxPro 1 Visual Basic 0
>
>To solve this, I had to modify my framework to take care of this situation when I have to do a SetFocus() if a Valid() event is in the hierarchy.

This seems to confirm rumors I've heard that MS would like to phase out the Valid event. I've stopped using it in favor of Lostfocus for most situations...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform