[Lazarus] Anchoring with negative values

Mattias Gaertner nc-gaertnma at netcologne.de
Sat May 24 08:22:31 CEST 2008


On Sat, 24 May 2008 00:26:51 +0300
Valdas Jankūnas <skroblas at erdves.lt> wrote:

> Mattias Gaertner rašė:
> >>
> >>   Why Border size in BorderSpacing is restricted to only positive
> >> values?
> > 
> > To avoid overlapping. 
> > 
> > If you want an image with a border, why not put the TImage into a
> > TPanel or TGroupBox?
> 
>   I always try avoid use of TWinControl where i can (because of 
> additional handle [i heard this rule somewhere from old days]).

very old days.

 
>   If i place TImage (AutoSize=True) into Panel then which settings in
> OI i must change to let TPanel always accommodate TImage size?

AutoSize=true

Mattias
 




More information about the Lazarus mailing list