Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Active Window
Message
De
15/01/1999 09:23:27
 
 
À
15/01/1999 08:49:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00176421
Message ID:
00176446
Vues:
29
>I have a formset that contains 4 forms. Only one form is visible at a time. The user can push different buttons to go between forms. I use the hide and show methods to make the appropriate form visible. When I run the program as an App in Foxpro, the initial window is active. When I push the button, the current window hides and the next window becomes visible AND active. When I run the program as an EXE outside of foxpro, the new window becomes visible, but is not active(it is grayed out). I must click on the window to make it active.
>Is there a way to make the next window appear active???

Thisformset.MyForm.Show() should force shifting focus to the next form in a formset. BTW, you should have some compelling reasons to continue using formsets in VFP (especially if it's higher than VFP3).
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform