Re: [MSEide-MSEgui-talk] Application paused if no mouse event.

2017-09-25 Thread fredvs
Hello Martin. I did play with lock()/unlock in uos but still those underrun errors. There is something that I do not catch. So I came back with {.$DEFINE mse} (that uses classical fpc thread + queue()) and all synchros are ok without any error underrun message. Also no more scratch when

Re: [MSEide-MSEgui-talk] Application paused if no mouse event.

2017-09-25 Thread Martin Schreiber
On Monday 25 September 2017 18:14:51 Martin Schreiber wrote: > You also can use .asyncevent() in order to send and > .onasyncevent in order to receive an event or > .postcomponentevent() to send and overriding > .componentevent() to receive. I'll probably add > tform.oncomponentevent for

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-25 Thread Martin Schreiber
On Monday 25 September 2017 14:33:52 fredvs wrote: > > height := emptyheight; //basedock is still big -> mainfo has > > scrollbar(s) width := fowidth; > > Huh, it is already there in code and did not help without "timerwait > workaround". > > (see line 401 of procedure tmainfo.onfloatall(const

Re: [MSEide-MSEgui-talk] Application paused if no mouse event.

2017-09-25 Thread Martin Schreiber
On Monday 25 September 2017 14:24:17 fredvs wrote: > > This night will be a merciless test, StrumPract will be the dj all night. > > Hello Martin. > > OK, the night was white. > > Strumpact did his DJ job perfectly, no crash, no pause. > Congrats! > The only detail is when a thread is

Re: [MSEide-MSEgui-talk] Application paused if no mouse event.

2017-09-25 Thread Martin Schreiber
On Monday 25 September 2017 23:59:49 fredvs wrote: > Hello Martin. > > I did play with lock()/unlock in uos but still those underrun errors. > > There is something that I do not catch. > As I wrote before, application.lock() waits until the main thread is idle and then runs in context of calling

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-25 Thread fredvs
> which sets the size of the form -> there will be scrollbars if basedock is too > big. I meant set the size of basedock too, somethin like: > basedock.size:= > height := emptyheight; > width := fowidth; Ha, ok, you mean to add the code of "TimerWait Workaround" ? ;-) Ok, many thanks.

Re: [MSEide-MSEgui-talk] Application paused if no mouse event.

2017-09-25 Thread fredvs
> How do you do that? application.lock()/unlock()? Maybe. I have to check uos code. It uses {$DEFINE mse} and so uses msethreads and application.lock()/unlock(). Maybe there are not placed on the right place... application.lock()/unlock() is not used in Strumpact forms. > An alternative is...

[MSEide-MSEgui-talk] About MSE TFilelistview.

2017-09-25 Thread fredvs
About TFilelistview Hello. In filelist.opions you may sort the filelist by name, time, size... Perfect. But is it possible to have a filelist with those data too in extra columns? Or maybe only the name can be displayed. Is it possible to apply a filter? What would be the syntax to assign

Re: [MSEide-MSEgui-talk] Application paused if no mouse event.

2017-09-25 Thread fredvs
> This night will be a merciless test, StrumPract will be the dj all night. Hello Martin. OK, the night was white. Strumpact did his DJ job perfectly, no crash, no pause. The only detail is when a thread is synchronizing graphic of a other form (not the parent form of the thread). It produce

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-25 Thread fredvs
-- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-25 Thread fredvs
> height := emptyheight; //basedock is still big -> mainfo has scrollbar(s) > width := fowidth; Huh, it is already there in code and did not help without "timerwait workaround". (see line 401 of procedure tmainfo.onfloatall(const sender: TObject) --> main.pas). PS: It is not