On Mon, 29 Nov 2010 10:21:07 +0100
Joost van der Sluis <[email protected]> wrote:

> Hi all,
> 
> Is it possible to add a 'new module' option to the ide which has by
> default some components on it?
> 
> With a TFileDescPascalUnitWithResource, it is possible to add a new
> module type, but I can't find out a way to add some components on it by
> default. (I could add the definitions to the code, offcourse, but how to
> add them to the resource?)

You can specify the lfm. Override the method GetResourceSource.

 
> Or do we have to add something for this so that it becomes possible?

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to