How to Add an Existing Form to a FormSet

Last reviewed: October 23, 1995
Article ID: Q138044
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0

SUMMARY

When you create a FormSet, there is no obvious way to add an existing form to the FormSet. This article shows you how to do it.

MORE INFORMATION

To add MyForm to the FormSet, follow these steps:

  1. Open MyForm.

  2. On the File menu, click Save As Class, and click Save Form.

  3. Give the new class a name and a file to be stored in.

  4. Close MyForm.

  5. With the FormSet active, click View Classes on the Form Designer toolbar, and then click Add.

  6. Select the .VCX file you saved the MyForm class in, and click Open.

  7. Select the toolbar representation of MyForm, and drop the form onto the FormSet.

This adds a class instance of MyForm to the FormSet.

REFERENCES

Developer's Guide pages 260 and 271.


Additional reference words: 3.00 VFoxWin
KBCategory: kbtool kbhowto
KBSubcategory: FxtoolFormdes


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 23, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.