Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set the focus from one form to another
Message
De
16/11/1998 09:18:17
Brad Stickley
Parker Pneumatic Div. North America
Wake Forest, Caroline du Nord, États-Unis
 
 
À
16/11/1998 08:28:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00157792
Message ID:
00157807
Vues:
19
>Hello,
>
>I am using Visual FoxPro 6.0. I have two forms opened at the same time on the screen. They are not set in a Formset. Now I want the following: When I press a button on the first form, I want to set the Focus to the other one. How can I do that?
>
>Thank you in advance.

Afeir

You can also create a form set and switch between the forms with a command button.

On a command button on form one of the set you can have a button with a click event that has,

thisform.visible = .t.
thisformset.form1.visible = .t.
thisformset.form2.visible = .f.

and on the second form you can have the command button click event to have this,

thisform.visible = .t.
thisformset.form1.visible = .f.
thisformset.form2.visible = .t.

Brad.
He is there and He is not Silent.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform