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

2017-09-19 Thread fredvs
Hello Martin.

I am busy with the mercyless test of MSE dock.

Many wow.

At the moment I did only find this strange:

When docking all the windows into main window, sometimes the height of the
scrolled design canvas is too high.

See video:
mse_scrollheight.mp4
  


What cause that random different height ?
I did try many things, but always, randomely, a wrong height is assisgned.


And how to now if a scrollbar is visible ?

Something like:
if container.frame.sbvert.visible then

Thanks.

Fre;D





--
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
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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

2017-09-18 Thread fredvs
> The problem is the negative shifts in mainfo.container.frame

OK, removed that rounded "global"  frames. (that was not nice in fact).

Now, scrolling main form is perfect.

Well, MSE dock was hardly and deeply tested.

Verdict:

There are no limit.
Time to create now.

Many thanks and wow Martin.

Fre;D





--
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
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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

2017-09-18 Thread fredvs
> A hint: the program crashes if compiled with -gh (heaptrace) there seems to
> be a memory error somewhere.

in uos code line 2878:

for x := 0 to (Data.OutFrames div ratio) do ...

Must be:

for x := 0 to (Data.OutFrames div ratio)  -1 do ...

Many thanks Martin and Heaptrace. ;-)

And for the memory leak:

All the created msetimers must be freed on Form.OnDestroy.
--> Done: -->

Heap dump by heaptrc unit
72271 memory blocks allocated : 39115233/39248848
72271 memory blocks freed : 39115233/39248848
0 unfreed memory blocks : 0
True heap size : 753664
True free heap : 753664

;-) 

> The problem is the negative shifts in
> mainfo.container.frame.frameimage_left

OK, I will study it.

Many thanks Martin.

Fre;D



--
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
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk