Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with setfocus
Message
From
05/01/2007 01:13:16
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Problem with setfocus
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01182657
Message ID:
01182657
Views:
79
Dear all,
I have a form for get some infos, in this form (GetInfo.scx) I have a command button that in its click event I put Thisform.text1.SetFocus in last line.
When I run this form separately, it works correctly. But when I call this form from another form with ( DO GetInfo.scx WITH 1,2 ), and when I click command button, I get error 2012 (Cannot call SetFocus from within a When, Valid, RangeHigh or RangeLow event )
WHY?
Next
Reply
Map
View

Click here to load this message in the networking platform