Copy form

Started by Marc Van Cauwenberghe, January 02, 2006, 06:04:17 AM

Previous topic - Next topic

Marc Van Cauwenberghe

Hello,

is there an easy way to copy a form in the same project?

Marc

TechSupport

Easy? Maybe. I have had success with the following:

Use Windows' Fiel Explorer and make a copy of your Form's .frm and corresponding .frx file. Rename these disk files to whatever you wish. You should now be able to add the new Form to your project via the Project, Add Form, Existing menu option.

You must change the new Form's Name property because an existing file in your project will already have that name. You will also have to search/replace in the code for any references in the Form that uses the old name.