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 _______________________________________________ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus