Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setfocus()
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Setfocus()
Miscellaneous
Thread ID:
00012947
Message ID:
00012947
Views:
65
I'm gonna get it for this one!

I have a class for my login screen, subclassed to change passwords and add new users. In my lostfocus() event I check for a pre-existing user name and a message box prompts the user to select a different name. After the MB code I have tried this.setfocus() and thisform.txtUserName.setfocus(), but neither of these are returning focus to the textbox! What an idiot, eh? (Maybe I should just put the code in the passwords gotfocus() event!)

Armor plating installed!

Jon
Jon Paskett

Microsoft Certified Systems Engineer
We all have to start somewhere...
Sometimes over again!
Next
Reply
Map
View

Click here to load this message in the networking platform