Il 22/04/2018 17:39, Mattias Gaertner via Lazarus ha scritto:

And what to do with

W := Image1.Picture.BItmap.Width?

You're right, there's no easy way out.

The original sin has been maybe to call Bitmap a TPicture property which isn't really a TBitmap, as the GetBitmap and SetBitmap methods show. This makes it easy to put any image into a picture, but creates unavoidable inconsistencies.

Giuliano




--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to