Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving changes from a textbox without exiting
Message
De
24/01/2001 14:03:58
 
 
À
24/01/2001 12:12:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00467981
Message ID:
00468091
Vues:
15
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform