[Lazarus] Anchoring with negative values

Valdas Jankūnas skroblas at erdves.lt
Fri May 23 23:26:51 CEST 2008


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]).

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

-- 
   Valdas Jankūnas



More information about the Lazarus mailing list