Hi George.
Right or Wrong, this is the way I import a form, and I seem to have good results.
After I have saved my new application, I use File-Open and navigate to the folder containing the form I need.
- Click on and open the .pas file.
- With this forms source focused in the source editor, go to the Projects->Add Editor File to Project (or shift-F11).
- It will then ask if you want to add the file or cancel. Select yes and you will now be asked if you want to add the directory to the search path.
-- Select 'Yes' if you want to ensure all changes you make to the form are updated in the original application, otherwise 'No' .
- If you chose 'No' then save the form to the current application folder (File-Save As). You will probably be asked if you want to delete the original file and keep the current - of course, 'No'
- Next go to Project->Options->Forms and add the form to the AutoCreate column (if you want it here).
- SAVE YOUR PROJECT!!!! (boy, how many times have I wished I listened to my own advice?!!)
So far, this has worked for me; but there is probably an easier or more efficient way to do it, and I am sure someone will pop up and let us know!
geno.