Hi,
I have a 2nd form, "grid" displaying a database as a grid etc. I want to add other functionality and would like to have it as known "search" instead of "grid."
I tried saving it as "search" then changing the first line, adding it to the main-form "uses" etc and now I get an error message about there being "no .lfm" even though there was a "search.lfm" created and exists in the project folder.
I can roll back to a backup before the "search" save and try again, so what's the trick?
Thanks
1. Turn off AutoSave [Go to Tools → Options → Environment → AutoSave];
2. Save the project;
3. Change form name using Object Inspector [F11];
4. Save As unit to new name[.pas];
5. Quit Lazarus IDE without saving anythng else, especially (above all) not saving project;
6. Reopen project in Lazarus IDE;
7. Add new unit name [recently saved] on project;
8. Save project.
Now, you are ready to go with both grid.pas and search.pas on the same project.