Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Embedded Forms
Message
 
À
12/03/1999 09:26:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00196756
Message ID:
00196780
Vues:
27
I agree with Craig on Form Sets. It may be that you are thinking of this problem incorrectly. If, however, you are certain that you need to display a "form within a form" there is a way to do this.

Create two forms, one named PARENT, the other named CHILD. Set the ShowWindow property of PARENT to 2-As top level form. Set the ShowWindow property of CHILD to 1-In top level form. Put a command button on the PARENT form with "DO FORM CHILD" in its click event. When you run PARENT and click the command button, CHILD will be "inside" PARENT.

That's the good news. The bad news is, you've created an MDI form now. Which means that PARENT lives outside of the VFP _screen. If this is your intention though, you may not mind that.

Marty
Marty Smith, CSQE
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform