2009/12/1 Mattias Gaertner <[email protected]> > On Mon, 30 Nov 2009 16:33:34 +0100 > wile64 <[email protected]> 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 (OnResize event)? >
Height is stored in design, on run-time, I search to redefine Height when loading component, I make solution like this, Height stored = false and I save Height in other variable! I'm not sure is good solution ? > > > 2) How to define region for accept client into Tpanel ? > > Maybe you mean the properties listed in the object > inspector under ChildSizing? For example LeftRightSpacing. > > AdjustClientRect work with anchoring, but in designer is not respected. It is possible to restrict area for client in design and run time too ? > Mattias > > > -- > _______________________________________________ > Lazarus mailing list > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- Laurent.
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
