[Lazarus] Form always 400 x 300 initially

Phil Hess macpgmr at fastermac.net
Sat Dec 19 01:50:32 CET 2009


Many thanks. Now works fine.

-Phil

----- "Mattias Gaertner" <nc-gaertnma at netcologne.de> wrote:

> On 17 Dec 2009 18:40:13 -0000
> Phil Hess <macpgmr at fastermac.net> wrote:
> 
> > In my TCustomForm-based design control, I would like it to have an
> initial size of my choosing rather than the default 400 wide, 300
> high. It appears as though these values are hardwired in the
> FormEditor1.CreateComponent call in TMainIDE.CreateNewForm, ignoring
> anything that I set Width or Height to. All other properties that I
> set in my constructor are honored, just not these.
> > 
> > Any workaround for this?
> 
> The IDE now uses the default width/height.
> 
> Mattias
> 
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




More information about the Lazarus mailing list