Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling setfocus from text box giving error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00629840
Message ID:
00630182
Vues:
24
Why bug? I consider it a feature... :)

>Should we report this as a bug to MS? <g>
>
>>NODEFAULT is not really required here. See message#343379
>>
>>>You cannot call SetFocus() from Valid() but you can from LostFocus(). Don't forget to add NODEFAULT to prevent default VFP behavior.
If abc = tru
>>>   thisform.xyz.setfocus()
>>>   NODEFAULT
>>>endif
>>>
>< snip >
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform