Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving changes from a textbox without exiting
Message
From
24/01/2001 14:03:58
 
 
To
24/01/2001 12:12:59
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00467981
Message ID:
00468091
Views:
12
Another way would be this in your button's click event:
_VFP.ActiveForm.ActiveControl.SetFocus
Like Ko's way, it won't work for a grid.



>I have a form with a toolbar. On the toolbar I have a save button. Normally a user will add or edit the data on the form and click save on the toolbar, and everything works...
>
>However, I have on particular user that wants to change the data in one textbox, and then click save. This does not work, the user needs to change the data and then hit TAB or ENTER then click save.
>
>Putting the SAVE button on the form allows this behavior, but I want to keep the SAVE button on the toolbar...
>
>Is there a way to get this to work with the SAVE button on the toolbar?
>
>Thanx,
>
>Mike
Sylvain Demers
Previous
Reply
Map
View

Click here to load this message in the networking platform