OK, I'm starting tp implement it. I will reuse as much code as possible from my TECSwitch (not deriving, but just Copy-Paste) because it is, in fact, custom drawn checkbox too. I will add property Alignment as proposed from Bart and class method for self-painting for OI purposes. No idea about "screen reader" funcionality yet. Vojtěch ______________________________________________________________
Od: Juha Manninen <juha.mannine...@gmail.com> Komu: Lazarus mailing list <lazarus@lists.lazarus.freepascal.org> Datum: 27.11.2014 12:54 Předmět: Re: [Lazarus] OI Checkboxes
A custom drawn widget library must implement screen reader support by itself. Now Object Inspector uses LCL's TCheckbox on the selected row. I guess it is screen-reader friendly then. The new planned custom drawn control may indeed break it. The support must be implemented somehow but I have no idea how. Juha -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus <http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus