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 scrollbar positions set container.frame.scrollpos.

> 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 Tslider always visible.
>
"
container.clampinview(<therect>);
"
twidget.clampinview() is public in git master 
9d3b7cf14c8d122df9123d46d7e375e08d3b1c69.


Martin

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to