Page 1 of 1

Posted: 13 Feb 2015, 11:02
by sm_jamieson
It would be good to give all modules with scrollable content two new parameters - vertical scroll position, and horizontal scroll position. So it the module is scrolled, this would be reported on the "scroll" output parameter, and if the "scroll" input parameter is set, the module would scroll to that position. This could be used for various creative purposes.

The other more specific solution would be to ensure that when a selection is made in a listbox or combobox using the selection input parameter, the selected item is brought into view. Currently in Hollyhock this does not work. I believe this used to happen in older versions of Usine.

Thanks,
Simon.

Posted: 13 Feb 2015, 11:58
by sephult
An input to center the view? What kind of creative purposes for the scroll bar?

Posted: 13 Feb 2015, 16:39
by sm_jamieson
As we discussed before, centering the view on the externally selected item would be a satisfactory solution. This would not require any new parameters. But we all have imaginations ...

Creative use of scrolling ? A few I can think of:

The designer of a patch might wish the selected item not to be centered in the view but placed at the top or bottom of the view.

Or, to scroll the window to a certain position regardless of any selected item, in order to suggest an item, create a tutorial, or to automate drag and drop, which can work in list boxes (there is an option for it in the list box properties).

Or to link the scrollbar to another one, so they both move in tandem.

etc.

Simon.

Posted: 14 Feb 2015, 13:09
by senso
let me think about this interesting suggestion.