I not sure how is the FPC/Lazarus behavior, in Delphi the transparent
color is the last left bottom pixel color.
[]s
Cesar Romero
www.liws.com.br
Brazil
Andreas Berger escreveu:
Can someone tell me how to load transparent glyphs for a TSpeedButton
at run time?
I have tried:
glyph.LoadFromFile('x.bmp');
glyph.LoadFromFile('x.bmp');
glyph.Transparent := true;
glyph.Transparent := true;
glyph.LoadFromFile('x.bmp');
bmp := TBitmap.Create;
bmp.LoadFromFile('x.bmp');
glyph.Assign(bmp);
bmp := TBitmap.Create;
bmp.LoadFromFile('x.bmp');
bmp.Transparent := true;
glyph.Assign(bmp);
Regards
Andreas
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives