[Lazarus] TCustomControl focus handling difference
Zeljko
zeljko at holobit.net
Mon Oct 19 15:18:16 CEST 2015
On 10/19/2015 02:56 PM, Gabor Boros wrote:
> 2015.10.19. 14:40 keltezéssel, Zeljko írta:
>> Probably platform diff. Qt have mechanism to dissalow focus switch via
>> mouse but I could not find any in LCL. Try with gtk2.
>
> If modify the example...
>
> with TMyControl.Create(Self) do
> begin
> ControlStyle:=ControlStyle+[csNoFocus];
>
> ...Edit1 not loose the focus on green control click just the text
> selection.
Yes, now I remember that I've implemented csNoFocus in Qt some time
ago,so it works. What about selection ?
zeljko
More information about the Lazarus
mailing list