Welcome to %s forums

BrainModular Users Forum

Login Register

control of scrolling

Tell us what you'd like Usine to do
Post Reply
sm_jamieson
Member
Posts: 559
Contact:

Unread post by sm_jamieson » 13 Feb 2015, 11:02

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.

sephult
Member
Posts: 1144
Contact:

Unread post by sephult » 13 Feb 2015, 11:58

An input to center the view? What kind of creative purposes for the scroll bar?
"Every act of creation is first an act of destruction." -Picasso

sm_jamieson
Member
Posts: 559
Contact:

Unread post by sm_jamieson » 13 Feb 2015, 16:39

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.

User avatar
senso
Site Admin
Posts: 4425
Location: France
Contact:

Unread post by senso » 14 Feb 2015, 13:09

let me think about this interesting suggestion.

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests