Re: [Lazarus] 2 questions about Component properties

2009-12-08 Thread wile64
> > > Yes, but when add button for exemple, is possible to put out of marging > > defined in AdjustClientRect > > Yes, even negative coordinates are allowed for controls. This is for > example needed when right aligning controls and the panel has not > enough width for all it's children. > You can

Re: [Lazarus] 2 questions about Component properties

2009-12-03 Thread Mattias Gaertner
On Wed, 2 Dec 2009 09:38:58 +0100 wile64 wrote: >[...] > > It's a custom panel. > > > > > I make solution like this, Height stored = false and I save Height in > > other > > > variable! > > > > Height is stored by the LCL. You can not set stored = false (unless > > you change the LCL source code)

Re: [Lazarus] 2 questions about Component properties

2009-12-02 Thread wile64
2009/12/1 Mattias Gaertner > On Tue, 1 Dec 2009 13:55:32 +0100 > wile64 wrote: > > > 2009/12/1 Mattias Gaertner > > > > > On Mon, 30 Nov 2009 16:33:34 +0100 > > > wile64 wrote: > > > > > > > Hi, > > > > > > > > 1) I search to resize component when he load, like autosize but with > my > > > > p

Re: [Lazarus] 2 questions about Component properties

2009-12-01 Thread Mattias Gaertner
On Tue, 1 Dec 2009 13:55:32 +0100 wile64 wrote: > 2009/12/1 Mattias Gaertner > > > On Mon, 30 Nov 2009 16:33:34 +0100 > > wile64 wrote: > > > > > Hi, > > > > > > 1) I search to resize component when he load, like autosize but with my > > > parameters ? > > > > Do you search properties to defin

Re: [Lazarus] 2 questions about Component properties

2009-12-01 Thread wile64
2009/12/1 Mattias Gaertner > On Mon, 30 Nov 2009 16:33:34 +0100 > wile64 wrote: > > > Hi, > > > > 1) I search to resize component when he load, like autosize but with my > > parameters ? > > Do you search properties to define the autosizing (Anchors, Align, > BorderSpacing, ChildSizing), or do y

Re: [Lazarus] 2 questions about Component properties

2009-12-01 Thread Mattias Gaertner
On Mon, 30 Nov 2009 16:33:34 +0100 wile64 wrote: > Hi, > > 1) I search to resize component when he load, like autosize but with my > parameters ? Do you search properties to define the autosizing (Anchors, Align, BorderSpacing, ChildSizing), or do you want to implement your own autosizing (OnRe

[Lazarus] 2 questions about Component properties

2009-11-30 Thread wile64
Hi, 1) I search to resize component when he load, like autosize but with my parameters ? 2) How to define region for accept client into Tpanel ? -- Laurent. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepasc