Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-06

Assigning Speedbutton.Glyph on Carbon gets kinda "invertish"

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bent Normann Olsen

Hi all,

First, sorry for the size of the attached screenshot.

I've been working with some TSpeedButtons and came across a strange behavior when assigning SpeedButton Glyph's, which doesn't happen on BitBtns or ToolButtons.

I have some images on ImageList's and the problem appears when I use ImageList.GetBitmap on SpeedButton.Glyph, or if use SpeedButton.Glyph.Assign with a local Bitmap, which works fine with BitBtn.

The Glyphs appears as if they were almost inverted. See attached screen shot.

Is this a known problem? Should I report this as a bug?

I have Lazarus 0.9.25 beta (rev. 15279) on I386/Darwin/Carbon.

Best regards,
Normann
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot.jpg
Type: image/jpeg
Size: 24310 bytes
Desc: not available
Url : http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080610/d1741140/attachment-0001.jpg

Reply by email

Paul Ishenin
to Bent Normann Olsen
Bent Normann Olsen wrote 19 lines
Hi all, First, sorry for the size of the attached screenshot. I've been working with some TSpeedButtons and came across a strange behavior when assigning SpeedButton Glyph's, which doesn't happen on BitBtns or ToolButtons. I have some images on ImageList's and the problem appears when I use ImageList.GetBitmap on SpeedButton.Glyph, or if use SpeedButton.Glyph.Assign with a local Bitmap, which works fine with BitBtn. The Glyphs appears as if they were almost inverted. See attached screen shot. Is this a known problem? Should I report this as a bug? I have Lazarus 0.9.25 beta (rev. 15279) on I386/Darwin/Carbon.

Please create a bug report and attach your test application.

Best regards,
Paul Ishenin.

Reply by email

Bent Normann Olsen
to Paul Ishenin

Thanks, done ;-)

Earlier message 14 lines
-----Original Message----- From: [mailto:] On Behalf Of Paul Ishenin Sent: 10. juni 2008 16:18 To: General mailing list Subject: Re: [Lazarus] Assigning Speedbutton.Glyph on Carbon gets kinda "invertish" [Snip] Please create a bug report and attach your test application. Best regards, Paul Ishenin.

Reply by email