Giuliano Colla wrote:
BitBtn is supposed to support showing different glyphs for different
states, the same as SpeedButton (NumGlyph property etc.). The only
difference is that it doesn't have a bsExclusive state, which can be
therefore ignored.
I'll let you have some screenshots of what it was showing up to some
time ago, together with a minimal example to test it, as soon as I
get rid of current emergencies.
Here I am.
This:
http://www.copeca.it/colla/Glyphs1.png
is a screenshot showing the glyph provided to BitBtn and a BitBtn
displayed both in enabled an disabled state.In the disabled state it
shows the correct glyph, but grayed, which isn't correct. This is as
of r. 12476.
Currently it shows the same glyph bot in the enabled and disabled
state, and doesn't show the bsDown glyph when pressed.
see: http://www.copeca.it/colla/Glyphs2.png
For comparison there are also four SpeedButtons, which have the same
glyph, and which behave correctly.
Here's the small app used to peoduce the screenshots:
http://www.copeca.it/colla/buttonglyph.zip
Ah, you are about gtk. As I know bitbtn states never worked under gtk.
I implemented them, please check r13331.
Best regards,
Paul Ishenin.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives