2014-11-27 0:20 GMT+01:00 Juha Manninen <juha.mannine...@gmail.com>: > On Wednesday, November 26, 2014, Vojtěch Čihák <vojtech.ci...@atlas.cz> > wrote: > >> I considered other solution. Create a new simple visual component >> (TCheckBoxThemed or so). It will have class method: >> >> class procedure PaintSelf(ACanvas: TCanvas; AChecked: Boolean); >> > > Ok, the class paint method allows drawing non-active checkboxes without an > overhead. > 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. > Please communicate with him if you plan to implement it. You both are > custom component wizards. >
Hmm, would such a control be screen-reader friendly? -- Frederic Da Vitoria (davitof) Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus