View Full Version : How to create new project templates the Laz Team way?
Hey anyone (Vincent, dmantone?) know how I can create new project templates for the New... dialog?
I don't want to install some plug-in, but rather do it the way that the Laz team themselves added the existing options.
Been trying to look this up in the wiki, but found nothing. :?
Legolas
27-03-2007, 05:01 PM
Project templates are hard coded in %lazsrc%/ide/project.pp. Try to look at eg. TProjectApplicationDescriptor :wink:
Wow... seems kind of like they did it the hard way, no?
Ok so I see TProjectProgramDescriptor and TProjectApplicationDescriptor and so on...
So whats the best way for me to create and include my own here? :scratch:
This is inside the project.pp file as Legolas explains above.
Vincent
29-03-2007, 08:49 AM
Project templates are hard coded in %lazsrc%/ide/project.pp. Try to look at eg. TProjectApplicationDescriptor :wink:
The defaults are hard code, but you can create new templates. Look at components\cgi\ide and components\fpcunit\ide for examples.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.