Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Placing windows in other windows
Message
De
02/10/2001 19:45:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00563299
Message ID:
00563365
Vues:
20
>Is there a way to instantiate a form, and tell the system that this form is a window that is inside the window of another form (like IN WINDOW for windows created in the Fox2.6 way)? And can this association be changed on the fly?
>
>JON MELVIN
>jdm@vi-i.com

You can define a window in the FPW2.6 way and place it inside of a form, but not another VFP form. For example:
Define Window myWindow At 5,1 Size 13, 45;
	In Window frmEditor Name oEditor
oEditor.Visible = .t.
Where frmEditor is your existing form. Once created you can treat it like another VFP form, for the most part. Notice the use of the Visible property instead of the FPW Activate Window equivalent. I haven't tried to change the association to another form though.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform