Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox never gets focus
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00126124
Message ID:
00126286
Views:
20
>I have a textbox2 which never receives the focus when textbox1 explicitly says thisform.mytextbox2.setfocus in several of its events.
>instead, a cmdbutton gets the focus. I have even blanked out all of textbox2's events. I have to actually place the cursor manually with the mouse into textbox2 to give it the focus.
Timothy,

From what methods are you doing the setfocus call? If it is the lsotfocus you must also issue a NODEFAULT command so VFP doesn't setfocus automatically on loosing focus.
Previous
Reply
Map
View

Click here to load this message in the networking platform