[Lazarus] Lazarus and accessibility

Vincent Snijders vincent.snijders at gmail.com
Tue Sep 20 21:13:18 CEST 2011


2011/9/20 Lubos Pintes <pintes at gmail.com>:
> Hi,
> Probably the problem is TBitBtn. Although after heavy fighting with the IDE
> I was able to set the Caption, screen reader is unable to see it.
> I made an experiment where I put two buttons, one TButton, and one TBitBtn
> to form. I was confused, because those component have window class name
> "Button". I mean win32 window class name.
> So it looked like "Ok, it is Button, regular Windows control, but is not
> named".

The caption is not set, because the button is ownerdrawn in procedure
DrawBitBtnImage.

>
> Request for some clever guy here: Can someone please point me to part of LCL
> source code where windows things are made? I mean where handles are created,
> window classes defined etc.

 TWin32WSBitBtn.CreateHandle in lazarus/lcl/interfaces/win32/win32wsbuttons.pp

Vincent




More information about the Lazarus mailing list