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:00:44
 
 
À
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:
00157802
Vues:
18
>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.

You should provide two steps:
1. Call another Form.Show method (using direct form reference) to make that form active.
2. Form.Activate event should setfocus to appropriate control. It can be done by pre-setting some higher-level object property.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform