Re: [Lazarus] TCustomControl now aways gets focus

2017-06-09 Thread zeljko via Lazarus
On 09.06.2017 14:26, Alexey via Lazarus wrote: Something changed in setting focus to control? My app now has bug: TATButton is *always focusable,* while it has prop not to be focusable [it worked before]. What widgetset ? If it's gtk2 then maybe you're hitted by r55062/55063 ? zeljko -- ___

[Lazarus] TCustomControl now aways gets focus

2017-06-09 Thread Alexey via Lazarus
Something changed in setting focus to control? My app now has bug: TATButton is *always focusable,* while it has prop not to be focusable [it worked before]. -- Regards, Alexey -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.

Re: [Lazarus] AsyncProcess code problem

2017-06-09 Thread Steve Gatenby via Lazarus
On 06/09/2017 05:42 PM, Michael Schnell via Lazarus wrote: On 09.06.2017 09:38, Steve Gatenby via Lazarus wrote: I create a thread every second to run a process (TAsyncprocess), then FreeAndNil the process once done. Would it not be more appropriate to use a thread pool and keep the threa

Re: [Lazarus] AsyncProcess code problem

2017-06-09 Thread Steve Gatenby via Lazarus
On 06/09/2017 05:32 PM, Mattias Gaertner via Lazarus wrote: On Fri, 9 Jun 2017 17:08:25 +0930 Steve Gatenby via Lazarus wrote: Having a problem with some code here :) Lazarus 1.9.0 r55266M FPC 3.1.1 x86_64-linux-gtk2 I create a thread every second to run a process (TAsyncprocess), then Fre

Re: [Lazarus] AsyncProcess code problem

2017-06-09 Thread Michael Schnell via Lazarus
On 09.06.2017 09:38, Steve Gatenby via Lazarus wrote: I create a thread every second to run a process (TAsyncprocess), then FreeAndNil the process once done. Would it not be more appropriate to use a thread pool and keep the threads up, waiting for a TEvent telling them what to do ? -Mic

Re: [Lazarus] AsyncProcess code problem

2017-06-09 Thread Mattias Gaertner via Lazarus
On Fri, 9 Jun 2017 17:08:25 +0930 Steve Gatenby via Lazarus wrote: > Having a problem with some code here :) > > Lazarus 1.9.0 r55266M FPC 3.1.1 x86_64-linux-gtk2 > > I create a thread every second to run a process (TAsyncprocess), then > FreeAndNil the process once done. If you are using thr

[Lazarus] AsyncProcess code problem

2017-06-09 Thread Steve Gatenby via Lazarus
Having a problem with some code here :) Lazarus 1.9.0 r55266M FPC 3.1.1 x86_64-linux-gtk2 I create a thread every second to run a process (TAsyncprocess), then FreeAndNil the process once done. My app aborts regularly (though intermittently) with the following from gdb. My question is about