Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text box getfocus and keeping
Message
 
To
11/06/1999 10:01:22
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00228746
Message ID:
00228771
Views:
11
>I have a textbox on a form that when the form initially opens is the only thing visible to allow application number input. Then my two combo boxes appear to allow other choices.
>
>Also, a command but exists to allow the use to re-enter application numbers and blank other fields if they made an error. My problem exists in that when it goes from the command button to the textbox, it will not stay in the text box to allow input. It goes right thru it to the combo box.
>
>For the command button click event, I have it go to the command button lost focus and in the lostfocus I have it set focus to the text box. In the text box gotfocus it blanks everything else on the screen and should wait for input, but it goes on to the lost focus which makes the combo boxes visible and the focus goes to the first combo box.

Put NODEFAULT along with the textbox.setfocus:

NODEFAULT
textbox.setfocus
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform