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
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus