theo wrote:
Hello

Is it correct, that the paintable area of an Image.Canvas is not growing
with the Image?

No, this is your "problem". The canvas size is exactly the size of the graphic inside the image. It is independent of the size of the TImage.

Example:
Put a TImage on an empty Form. Set Align to alClient.

Do you put a graphic in it ? If not I wonder what happens. IIRC an empty TImage has a size of 1x1 pixel, but it maybe it generates a bitmap of the initial TImage size.

Anyway sizing a TImage only changes the dimension of its "viewport" not of the embedded graphic.
If you want such behaviour, use a paintbox

Marc

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

Reply via email to