Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Focus problem
Message
 
 
To
17/10/2001 15:16:55
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00569234
Message ID:
00569871
Views:
20
>>>[snipped]
>>Move it to .Valid() method like this:
>>
>>*Valid() method
>>IF ! "Dr" $ This.Value
>> =messagebox('This list should be Doctors only.',16,'Go Back')
>>RETURN 0
>>ENDIF
>
>It doesn't seem to work for me when I have ON ERROR ... on the form. What can I do? Even the -1 doesn't work either.

Are you sure you don't have another RETURN in the code? -1 should move focus to the previous control in the tab order, +1 to the next and so on.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform