Re: [MSEide-MSEgui-talk] How to use form-scrollbars ?

2018-06-21 Thread fredvs
> container.frame.scrollpos_x:= -3*parentformwidth. wavescroll_strump.mp4 ;-) Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] How to use form-scrollbars ?

2018-06-20 Thread fredvs
Hello Martin. Goal. Here the tips: 1) Recompile MSEide / ideU with last MSEgui commits. 2) In object inspector, select the TSlider and set ow1_noclampinview := true. 3) msescrollpage_strumOK.mp4 Wow,

Re: [MSEide-MSEgui-talk] How to use form-scrollbars ?

2018-06-20 Thread Martin Schreiber
On Wednesday 20 June 2018 13:50:21 fredvs wrote: > > Done, git master f98ccf1516ab16ff6812991424d80fbcc55b006b. > > Thanks but I get same "only once" behaviour with this last commit. > > Maybe I miss something. > Have you set ow1_noclampinview of the widgets in container which will be activated

Re: [MSEide-MSEgui-talk] How to use form-scrollbars ?

2018-06-20 Thread fredvs
> Done, git master f98ccf1516ab16ff6812991424d80fbcc55b006b. Thanks but I get same "only once" behaviour with this last commit. Maybe I miss something. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] How to use form-scrollbars ?

2018-06-19 Thread Martin Schreiber
On Wednesday 20 June 2018 07:17:29 Martin Schreiber wrote: > > I'll add another flag in order to suppress the behavior. > Done, git master f98ccf1516ab16ff6812991424d80fbcc55b006b. Martin -- Check out the vibrant tech

Re: [MSEide-MSEgui-talk] How to use form-scrollbars ?

2018-06-19 Thread Martin Schreiber
On Wednesday 20 June 2018 03:30:44 fredvs wrote: > Hello Martin. > > Sorry, I do not understand the goal of clampinview. > It adjusts scrollpos so the given rectangle is in paintrect. > Now about container.frame.sbhorz.pageup/pagedown. > > With a simple demo-test it works. [...] > But inside a

Re: [MSEide-MSEgui-talk] How to use form-scrollbars ?

2018-06-19 Thread Martin Schreiber
On Tuesday 19 June 2018 23:02:23 fredvs wrote: > > In order to set the scrollbar positions set container.frame.scrollpos. > > Huh, not too easy for me to understand. > > container.frame.scrollpos.x := container.frame.scrollpos.x + 100; > > ==> Error: Argument cannot be assigned to > >

Re: [MSEide-MSEgui-talk] How to use form-scrollbars ?

2018-06-19 Thread fredvs
Hello Martin. Sorry, I do not understand the goal of clampinview. Now about container.frame.sbhorz.pageup/pagedown. With a simple demo-test it works. This demo use the same waveform.pas than a other more complicated project. See attachment and video. msescrolltest.zip

Re: [MSEide-MSEgui-talk] How to use form-scrollbars ?

2018-06-19 Thread fredvs
> In order to set the scrollbar positions set container.frame.scrollpos. Huh, not too easy for me to understand. container.frame.scrollpos.x := container.frame.scrollpos.x + 100; ==> Error: Argument cannot be assigned to container.frame.scrollpos_x := container.frame.scrollpos_x + 100;; ==>

Re: [MSEide-MSEgui-talk] How to use form-scrollbars ?

2018-06-19 Thread Martin Schreiber
On Tuesday 19 June 2018 12:12:54 fredvs wrote: > Hello Martin. > > I did try to change position of scrollbar of a form by code. > > Without luck. > > Using theform.container.frame.sbhorz.pageup works only once. > Works for me. Maybe it is already at 100% after the first call?. In order to set the

[MSEide-MSEgui-talk] How to use form-scrollbars ?

2018-06-19 Thread fredvs
Hello Martin. I did try to change position of scrollbar of a form by code. Without luck. Using theform.container.frame.sbhorz.pageup works only once. Howto do if the button of a TSlider goes outside the form, how to , by code, do a page-up of the scrollbar. This to have the button of the