Forum > Options

[SOLVED] {$APPTYPE CONSOLE} {$APPTYPE GUI} please where to set?

<< < (2/4) > >>

KodeZwerg:
Maybe I express myself not that clear enough.

In attachment you do see a picture.

Now my question is, where does Lazarus take the template from when I do press the [OK] button?

Your text about what it does = I do know.
Your text about where it belong to = I do know.
A text about how I can have it automatic = I do miss.

itblumi:
Do you mean something like this https://wiki.freepascal.org/Project_Templates ?

KodeZwerg:

--- Quote from: itblumi on November 24, 2022, 05:42:56 pm ---Do you mean something like this https://wiki.freepascal.org/Project_Templates ?

--- End quote ---
I give up. Even when I show a picture of where I would like to modify something I get answers that not lead in the direction that I need.
I read your link and I do understand like nothing since I never have done such, really, all I want to do is to edit the original thing that I showed on Picture, nothing more nothing less.
I closed now this thread since I can not express myself more clearly.
Thanks.

PascalDragon:

--- Quote from: KodeZwerg on November 24, 2022, 05:34:57 pm ---Now my question is, where does Lazarus take the template from when I do press the [OK] button?
--- End quote ---

$lazarusdir/ide/projectdescriptortypes.pas


--- Quote from: KodeZwerg on November 24, 2022, 09:03:51 pm ---
--- Quote from: itblumi on November 24, 2022, 05:42:56 pm ---Do you mean something like this https://wiki.freepascal.org/Project_Templates ?

--- End quote ---
I give up. Even when I show a picture of where I would like to modify something I get answers that not lead in the direction that I need.
--- End quote ---

The projtemplates package is to add your own templates using simple description files. Some other packages also add additional project templates using code like the core templates do.

KodeZwerg:

--- Quote from: PascalDragon on November 24, 2022, 10:05:07 pm ---$lazarusdir/ide/projectdescriptortypes.pas

--- End quote ---
Perfect!
I found that file, it was exact what I wanted to "patch".
How do I make it now that Lazarus is using it please?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version