Andreas Berger wrote:
Sorry, it's not your english. It's my writing.
I copy the rectangles to two types of components. One is the glyph of a
speedbutton and the other to the bitmap of an image. When I use CopyRect
nothing appears. The speedbutton is empty and the image is transparent.
So either nothing was copied or the whole image became transparent. I
would guess the first option.
I have those problems also with checkbox images for virtualtreeview.In
fact AddMasked is missing for TImageList also probably due to this bug.
Nice that you find a trick with TmemoryStream (it's tested under Windows
or Linux ?)
Btw: if you fix that you will also find a way to load glyphs and
TImageList from resource other then TForm, which is essential for
creating visual components.
Regards
Boguslaw
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives