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