[Lazarus] TCustomControl focus handling difference

Zeljko zeljko at holobit.net
Mon Oct 19 14:40:19 CEST 2015



On 10/19/2015 02:28 PM, Gabor Boros wrote:
> Hi All,
>
> If click on the green control in the example project Edit1 loose focus
> on Linux(Qt KDE4) and not on Windows. Is it a simple platform difference
> or a bug? (I want Edit1 stay focused but green control can handle mouse
> clicks. I don't know which one is operating normally and where to start
> fix my control on Linux or Windows).

Probably platform diff. Qt have mechanism to dissalow focus switch via 
mouse but I could not find any in LCL. Try with gtk2.

zeljko




More information about the Lazarus mailing list