On Wednesday, November 26, 2014, Vojtěch Čihák <<a href="mailto:vojtech.cihak@atlas.cz">vojtech.cihak@atlas.cz</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p style="padding:0 0 0 0;margin:0 0 0 0">I considered other solution. Create a new simple visual component (TCheckBoxThemed or so). It will have class method:</p>
<p style="padding:0 0 0 0;margin:0 0 0 0">class procedure PaintSelf(ACanvas: TCanvas; AChecked: Boolean);</p></blockquote><div><br></div><div>Ok, the class paint method allows drawing non-active checkboxes without an overhead.</div><div>It is a good idea. Sandro Cumerlato was planning for something similar, a white background and clicking anywhere on a selected row would change the state.</div><div>Please communicate with him if you plan to implement it. You both are custom component wizards.</div><div><br></div><div>Lazarus 1.4 will be forked soon (1-2 months). A realistic plan is to leave the current checkbox there for 1.4 and put the new one in trunk.</div><div>The current solution works well, too.</div><div><br></div><div>Bart, we must do custom painting without widgetset overhead for the non-selected rows in OI. There can be tens of published booleans in a component and OI must be snappy.</div><div><br></div><div>Juha</div><div><br></div>