Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.setfocus method
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00122406
Message ID:
00122702
Views:
19
>Ok, for clarification, what happens if the entry good?
>
Then, new controls(textboxes, etc) will show up for furthur user input.
I wonder what event this all goes into.

>>>No, what I mean is that if in your validation code if your setting focus back to the textbox when it doesn't contain a valid number the Quit button won't be able to get focus unless a valid entry is made.
>
>>Sounds about right. I want the focus to go to the textbox automatically rather then force the user click on it manually and produce a cursor. So again, my objective is to keep the focus in the textbox until a good entry is provided by the user and at the same time, allowing him to click on the 'Quit' cmbbutton any time to abort the whole thing. PS when the textbox is filled, he hits enter to proceed like he does in the DOS version. Thanks!
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform