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] 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] 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

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-24 Thread Martin Schreiber
On Monday 25 September 2017 00:27:48 fredvs wrote: > > It works much better but a work-around is still needed. > You probably should adjust the size of basedock too. " procedure tmainfo.onfloatall(const sender: TObject); [...] height := emptyheight; //basedock is still big -> mainfo has

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

2017-09-24 Thread Martin Schreiber
On 09/23/2017 01:54 PM, fredvs wrote: > > The canvas is not refreshed when floating all the visible forms. > The docking area is there but the docking area caption is not drawn if there are docked invisible forms. Changed in git master 367f65d6c118112ecec6f16eb6af36635fcd85b8. Martin

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

2017-09-23 Thread fredvs
> Bugs should be fixed not "workarounded". ;-) Huh, then, sorry, there is still something... All works perfectly if all the forms are visible. But if child-docked-forms are closed inside the main parent form, it has still problems. The canvas is not refreshed when floating all the visible

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

2017-09-22 Thread fredvs
> si1.cx:= basedock.width; //do not change width OK only added it. ;-) Works formidably now. Many thanks Martin. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech

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

2017-09-22 Thread Martin Schreiber
On Friday 22 September 2017 14:49:03 fredvs wrote: > > But some forms, like the files form, should be sizable in height (unsizable > in width), like the files form while docked. > But this, I was not able to do. Set bounds_cxmin = bounds_cxmax = bounds_cx. > Also, when using menu "All float",

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

2017-09-22 Thread fredvs
> It is a matter of style. Personally I think one should not restrict the users if they want to change the window size. I agree with that too. But the "all docked" layout is to give users a "out of the box" nice layout. They may change the size of some forms (but I prefer to let some forms

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

2017-09-21 Thread Martin Schreiber
On Thursday 21 September 2017 13:32:53 fredvs wrote: > Hello Martin. > > Many thanks for your investigations. > > It works perfectly now. > > The height-size is perfect now. > > Huh, why dont you like Timerwait ? > > It was used to ajuste the main form width if a vertical scrollbar appear. >

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

2017-09-21 Thread fredvs
Re-hello Martin. Is it possible to hide the end buttons of a Tslider ? If yes, how ? Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community on one of the

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

2017-09-21 Thread fredvs
Hello Martin. Many thanks for your investigations. It works perfectly now. The height-size is perfect now. Huh, why dont you like Timerwait ? It was used to ajuste the main form width if a vertical scrollbar appear. (Otherwise part of the docked forms are hidden, like the close buttons). See

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

2017-09-21 Thread Martin Schreiber
On Thursday 21 September 2017 10:25:44 Martin Schreiber wrote: > On Thursday 21 September 2017 10:21:22 Martin Schreiber wrote: > > Can not reproduce with strumpract git master > > ebc7a4d29aaa044539d28ef8fd3c8532009a918b. > > Correction: I can reproduce now, I'll try to make MSEgui compatible to

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

2017-09-21 Thread Martin Schreiber
On Thursday 21 September 2017 10:21:22 Martin Schreiber wrote: > > Can not reproduce with strumpract git master > ebc7a4d29aaa044539d28ef8fd3c8532009a918b. > Correction: I can reproduce now, I'll try to make MSEgui compatible to your approach. Martin

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

2017-09-21 Thread Martin Schreiber
On Wednesday 20 September 2017 21:19:44 fredvs wrote: > Hello Martin. > > OK, i did apply your patch + compile with last MSE commit. > > At loading, perfect the size of the main form is ok, scrolling refresh well > the canvas. > > Sadly after there are few problems. > > - Sometimes the vert

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

2017-09-20 Thread Martin Schreiber
On Wednesday 20 September 2017 21:19:44 fredvs wrote: > Hello Martin. > > OK, i did apply your patch + compile with last MSE commit. > > At loading, perfect the size of the main form is ok, scrolling refresh well > the canvas. > > Sadly after there are few problems. > > - Sometimes the vert

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

2017-09-20 Thread fredvs
Hello Martin. OK, i did apply your patch + compile with last MSE commit. At loading, perfect the size of the main form is ok, scrolling refresh well the canvas. Sadly after there are few problems. - Sometimes the vert scrollbar does not appear when all the forms are dockked. - And when it

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

2017-09-20 Thread Martin Schreiber
On Tuesday 19 September 2017 16:10:40 fredvs wrote: > > When docking all the windows into main window, sometimes the height of the > scrolled design canvas is too high. > See attachment (needs MSEgui git master version). > > > And how to now if a scrollbar is visible ? > > Something like: > if