On Fri, 23 May 2008 19:15:38 +0300
Valdas Jankūnas <[EMAIL PROTECTED]> wrote:

> Hello,
> 
>   on Form is placed Image, image at runtime can resize, image anchors
> to Form at horizontal center.
>   I want make border around Image with Bevel, border must adapt
> change of size of Image. So i think: "all sides of Bevel need anchor
> to corresponding sides of Image with BorderAround=-1", but i cant set 
> Border size to negative values.
>   As workaround i use Image.OnResize to adjust size and position of
> Bevel.
> 
>   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?

Mattias


_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to