TButtonGlyph.SetGlyph is now Delphi compatible and only copies the content,
instead of using the TBitmap itself.
For example:
ABitmap:=TBitmap.Create;
ABitmap.LoadFromFile('a.bmp');
TSpeedButton.Glyph:=ABitmap;
Now, you need to free ABitmap yourself.
Or you could write the above as:
TSpeedButton.Glyph.LoadFromFile('a.bmp');
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives