[Lazarus] New Form default properties

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Feb 11 15:44:08 CET 2011


On Fri, 11 Feb 2011 12:17:54 -0200
Alexsander Rosa <alexsander.rosa at gmail.com> wrote:

> Is there a place to define the "default" values for some Form properties
> when a "New Form" is created by IDE?
> I know I could use inheritance, but it seems a little overkill when all I
> want is to define width and height properties.

You can define your own forms, use the project templates, use the
inherited form or patch the IDE.
There is no "All I want to" thing.
Defining some default values for component classes is a nice feature,
but if you ask ten developers you get ten different ideas how to do
that. That's why such a feature is better provided by a package.


Mattias




More information about the Lazarus mailing list