Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning to a control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00245106
Message ID:
00245210
Vues:
19
>During the use of a formset I would like to be able to return to the same control the user was at on form1 when exiting form2 and going back to form1. Without saving the control name from form1 to a public variable, I cannot see how to get VFP to return to the same control. I am wondering if there is a good way to do this, or if I should just return to a particular specified control no matter where the user was when he left form1. I would prefer not to create a public variable.
>
>Thanks in advance.
>
>Porter Bailey

2 ways...

Form2 can be modal which would automatically return to form1 as is.

Make a custom property in form1 to save the name of the current control then set focus back to that control when form1 is activated.

HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform