Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setfocus after 3 forms
Message
From
01/03/2000 14:40:50
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Setfocus after 3 forms
Miscellaneous
Thread ID:
00340014
Message ID:
00340014
Views:
65
I have a command button i a form.
This form is my fourth open form.
In the click events i have this code
thisform.text1.setfocus

After clicking this command button i recieve this errormessage:
Cannot call SetFocus from within a When, Valid, RangeHigh or RangeLow event (Error 2012)

1 - I have not used the setfocus method within a When, Valid, RangeHigh or RangeLow event
2 - When this form is the third form i dont recieve this error.
Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform