Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box validation
Message
From
06/03/2002 02:00:43
 
 
To
05/03/2002 06:38:17
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00627764
Message ID:
00628851
Views:
27
Hi Hilmar,

I solved my problem by putting in lostfocus false condition.
nodefault
this code keep cursor on same text if condition fail on lost focus.
Could you reply my new thread for grid problem please.

Thanks,


>>Thanks Hilmar,
>>
>>If I am using lostfocus to validate. And condition is not tru than my cursor not staying in same filed. if i write. Thisform.text1.setfocus
>>its giving error cannot call from valid,when,rangelow range hign. while i am using this line in lost focus I an not using any four method. How can cursor stay in same file if i use lostfocus. Please write actual code.
>
>I can't post actual code, since I don't do this - I tried to help with a few ideas, which may, or may not, point you in the correct direction.
>
>What I do is forget about controlling the focus for validation purposes. Instead, I check a series of rules only when the user tries to save. IMO, this approach is much simpler.
>
>HTH, Hilmar.
Sajjad Ahmad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform