Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Embedded Forms
Message
 
To
12/03/1999 09:26:28
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00196756
Message ID:
00196780
Views:
25
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
Previous
Reply
Map
View

Click here to load this message in the networking platform