Add OnPaint and OnDrawItem to TToolBar lazarus / 7-LCL ---------------------------------------------------------------------- lainz · 2015-05-04 18:17 Hi, please test this new feature I'm adding to TToolBar It allow to customize the TToolBar with - OnPaint event: change the background of the TToolBar - OnDrawItem event: change the style of the TToolButton Attached: - Patch for lazarus trunc - Screenshot - Demo Share your comments. ---------------------------------------------------------------------- circular · 2015-05-04 23:17 I can't seem to be able to apply the patch. I guess it is because I have Lazarus 1.0.10. I looked at the code and it makes sense to me. ---------------------------------------------------------------------- lainz · 2015-05-05 18:22 Now in bugtracker http://bugs.freepascal.org/view.php?id=28029 Hopefully they want to add it. ---------------------------------------------------------------------- circular · 2015-05-06 00:31 It seems it was added. ---------------------------------------------------------------------- lainz · 2015-05-06 01:20 Quote from: circular on May 06, 2015, 02:31:10 amIt seems it was added.  Yes! Feel free to use it to theme LazPaint ---------------------------------------------------------------------- circular · 2015-05-06 09:39 Yes. That will be in Lazarus 1.6? ---------------------------------------------------------------------- lainz · 2015-05-06 16:20 Quote from: circular on May 06, 2015, 11:39:58 amYes. That will be in Lazarus 1.6? im not sure. there is also a fixes branch or something like that. I've added it to the wiki, hopefully it works this way: http://wiki.lazarus.freepascal.org/Lazarus_1.4_fixes_branch#Submitted_ by_others