Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set the focus from one form to another
Message
De
17/11/1998 07:30:23
 
 
À
16/11/1998 09:00:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00157792
Message ID:
00158169
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.
>
>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.

Thank you for your answer. I am now using the ACTIVATE WINDOW command and that is working fine.
Greetings,

Afier Appelman
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform