Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetFocus() not allowed from Valid() anymore
Message
De
08/11/1996 01:34:37
 
 
À
05/11/1996 23:58:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00011464
Message ID:
00011785
Vues:
40
>>>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.

It kind of made sense to me after I thought of it for ... a couple
of days :) Apparently it's within the 'object' nature to fire Valid()
once the object gets accessed (and programmatically SetFocus() accesses
the object)

Robert
Some things are better be left unknown...NOT!!!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform