[Lazarus] A bitmap strange issue

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Apr 22 17:39:34 CEST 2018


On Sun, 22 Apr 2018 17:06:43 +0200
Giuliano Colla via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

>[...]
> SomeBitmap := Image1.Picture.BItmap;
> 
> should execute (with proper checks)
> 
> SomeBitmap.assign(Image1.Picture.Bitmap);
> 
> I speak about manipulating the Tpicture.Bitmap property itself, not the 
> TBitmap properties, which would not be affected.

And what to do with

W := Image1.Picture.BItmap.Width?

Mattias


More information about the Lazarus mailing list