[lazarus] TSpeedbutton glyph states...

Tom Lisjac netdxr at adelphia.net
Sun Jul 6 03:48:06 EDT 2003


The 4th glyph doesn't currently show when a TSpeedbutton is in the
down/exclusive state. I don't know if it was intentional, but
bsExclusive wasn't included in the TButtonGlyph.Draw case selector. The
attached patch adds it and displays the 4th glyph at the proper state.

-Tom


Index: lazarus/lcl/include/buttonglyph.inc
===================================================================
RCS file: /FPC/CVS/projects/lazarus/lcl/include/buttonglyph.inc,v
retrieving revision 1.18
diff -r1.18 buttonglyph.inc
93a94
>     bsExclusive: if NumGlyphs>3 then ImgID:=3;





More information about the Lazarus mailing list