Re: [Lazarus] TCustomControl focus handling difference

2015-10-19 Thread Zeljko
On 10/19/2015 04:54 PM, Gabor Boros wrote: 2015.10.19. 16:15 keltezéssel, Zeljko írta: Please open an issue about it and attach example project. I'll check if it's Qt lib bug or lclqt one. zeljko http://bugs.freepascal.org/view.php?id=28880 Thanks. zeljko -- ___

Re: [Lazarus] TCustomControl focus handling difference

2015-10-19 Thread Gabor Boros
2015.10.19. 16:15 keltezéssel, Zeljko írta: Please open an issue about it and attach example project. I'll check if it's Qt lib bug or lclqt one. zeljko http://bugs.freepascal.org/view.php?id=28880 Gabor -- ___ Lazarus mailing list Lazarus@lists.l

Re: [Lazarus] TCustomControl focus handling difference

2015-10-19 Thread Zeljko
On 10/19/2015 03:32 PM, Gabor Boros wrote: 2015.10.19. 15:18 keltezéssel, Zeljko írta: Yes, now I remember that I've implemented csNoFocus in Qt some time ago,so it works. What about selection ? If added csNoFocus caret not moved in Edit1 (which is good) just text selection lost if click on

Re: [Lazarus] TCustomControl focus handling difference

2015-10-19 Thread Gabor Boros
2015.10.19. 15:18 keltezéssel, Zeljko írta: Yes, now I remember that I've implemented csNoFocus in Qt some time ago,so it works. What about selection ? If added csNoFocus caret not moved in Edit1 (which is good) just text selection lost if click on the green control. Gabor -- __

Re: [Lazarus] TCustomControl focus handling difference

2015-10-19 Thread Zeljko
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 Con

Re: [Lazarus] TCustomControl focus handling difference

2015-10-19 Thread Gabor Boros
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 no

Re: [Lazarus] TCustomControl focus handling difference

2015-10-19 Thread Zeljko
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

[Lazarus] TCustomControl focus handling difference

2015-10-19 Thread Gabor Boros
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 star