Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling setfocus from text box giving error
Message
De
09/03/2002 06:55:21
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00629840
Message ID:
00630550
Vues:
19
Hi,

Just I checked my form when executing form directly its working fine but if I run form through my menu its giving error as explained. on sspention its coming on debug mode.

I am using first password screen once password validated than calling menu and toolbar from meny I am calling my form.

Any idea which command creating problem???

>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
>>
>>>Hi,
>>>On text lostfocus/valid event i am using certain validation If validation tru I want to skip 2 text box for this I am using
>>>example
>>>
>>>If abc = tru
>>>
>>>thisform.xyz.setfocus()
>>>
>>>endif
>>>
>>>but this not going on desire control and giving error cannot call setfocus fromwhen,valid,range high,rangelow.....
>>>
>>>Any solution to solve problem...please.
Sajjad Ahmad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform