Lazarus
Programming => LCL => Topic started by: Jvan on May 12, 2021, 12:07:25 am
-
Please, is it possible?
-
Use a TSpeedButton instead, with that it has a Onpaint handler and you can paint the button yourself...
-
Hi!
The BitBtn has a Glyph which is nothing but a TBtmap.
So you dont need am onPaint event because you can paint on a bitmap outside the onPaint event.
Draw your two lines of text on the BitBtn.glyph.canvas and set the caption to an empty string. FormCreate is a good place to do that.
Winni
-
That's like going from Console to GUI mode :)