PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Copy form  (Read 217 times)

Marc Van Cauwenberghe

  • Guest
Copy form
« on: January 02, 2006, 05:34:17 AM »


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



  • Guest
Copy form
« Reply #1 on: January 02, 2006, 01:07:52 PM »

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.