Hi :-)
I’m working on a BasicApp, basically an application that provides the basics for a database
application.
Now I’d like to turn the current state into a template.
What I’ve done so far:
In Lazarus > Tools > Project Templates Settings, I created the default path:
/home/lcb/bin/lazarus_fixes/config_lazarus/templates
I then saved my project using Project > Publish Project into this folder:
/home/lcb/bin/lazarus_fixes/config_lazarus/tem plates/basicapp
After that, I created a text file in that folder called project.ini with the following content:
[Variables]
[Project]
name=BasicApp
Recurse=1
After restarting Lazarus, I found a new entry under File called New Project from Template, and
my template was indeed listed there.
But I was a bit too early to celebrate.
The Recurse=1 entry does not do what I expected.
As I understand it, it should create the subfolders of my template and copy the files contained
in them.
Instead, I get the following error from Lazarus:
Cannot find com ponent class "TFrame1".
It is not registered with RegisterClass and no .lfm file was found.
It is required by unit:
/home/lcb/lzProject/003.test/mainunit.pas
This happens because the subfolders are not created and the required files are missing.
Do you have any advice on how I can solve this?
Best regards,
Bibsi
I don't speak English, it's a translation. Sorry.