ArrayArrayArrayArrayArray BrainModular BrainModular Users Forum 2015-02-13T11:44:47+02:00 https://brainmodular.org/forums/app.php/feed/topic/4695 2015-02-13T11:44:47+02:00 2015-02-13T11:44:47+02:00 https://brainmodular.org/forums/viewtopic.php?t=4695&p=31272#p31272 <![CDATA[scrolling listbox from a script]]> On the "Report a bug" page I can view reported bugs but I cannot see any way to report one.
Maybe I don't have the required level of support ?
Simon.

Statistics: Posted by sm_jamieson — 13 Feb 2015, 10:44


]]>
2015-02-11T17:12:56+02:00 2015-02-11T17:12:56+02:00 https://brainmodular.org/forums/viewtopic.php?t=4695&p=31250#p31250 <![CDATA[scrolling listbox from a script]]>
However, I think if you select a value externally it should come into view, or remain in view when selected....unless overridden by the scroll.

-S

Statistics: Posted by sephult — 11 Feb 2015, 16:12


]]>
2015-02-11T16:27:02+02:00 2015-02-11T16:27:02+02:00 https://brainmodular.org/forums/viewtopic.php?t=4695&p=31249#p31249 <![CDATA[scrolling listbox from a script]]>
I'm not sure about always centering the selection in the scroll window. That would sometimes be what you want. But you would not want the thing to scroll automatically if you selected the top item in the window and it scrolled down to the middle !

A general solution would be to add scroll control to anything that scrolls. This could just be a "scroll" parameter that is set to the line number you want at the top of the scroll box. Or a scroll percentage to be even more general.

Simon.

Statistics: Posted by sm_jamieson — 11 Feb 2015, 15:27


]]>
2015-02-11T15:51:28+02:00 2015-02-11T15:51:28+02:00 https://brainmodular.org/forums/viewtopic.php?t=4695&p=31248#p31248 <![CDATA[scrolling listbox from a script]]> I cannot remember but I believe awhile back I had some requests that were fixed in the listbox like correcting the numbering etc...

Centering the view on the selected object is one of them, you should send in a bug report and I will note it as well.

-S

Statistics: Posted by sephult — 11 Feb 2015, 14:51


]]>
2015-02-11T15:44:07+02:00 2015-02-11T15:44:07+02:00 https://brainmodular.org/forums/viewtopic.php?t=4695&p=31246#p31246 <![CDATA[scrolling listbox from a script]]>
If I change the current selection of a listbox from a script, and the newly selected item is scrolled out of view, I need to change the scroll position to bring the selected line into view.

Thanks,
Simon.

Statistics: Posted by sm_jamieson — 11 Feb 2015, 14:44


]]>
BrainModular BrainModular Users Forum 2015-02-13T11:44:47+02:00 https://brainmodular.org/forums/app.php/feed/topic/4695 2015-02-13T11:44:47+02:00 2015-02-13T11:44:47+02:00 https://brainmodular.org/forums/viewtopic.php?t=4695&p=31272#p31272 <![CDATA[scrolling listbox from a script]]> On the "Report a bug" page I can view reported bugs but I cannot see any way to report one.
Maybe I don't have the required level of support ?
Simon.

Statistics: Posted by sm_jamieson — 13 Feb 2015, 10:44


]]>
2015-02-11T17:12:56+02:00 2015-02-11T17:12:56+02:00 https://brainmodular.org/forums/viewtopic.php?t=4695&p=31250#p31250 <![CDATA[scrolling listbox from a script]]>
However, I think if you select a value externally it should come into view, or remain in view when selected....unless overridden by the scroll.

-S

Statistics: Posted by sephult — 11 Feb 2015, 16:12


]]>
2015-02-11T16:27:02+02:00 2015-02-11T16:27:02+02:00 https://brainmodular.org/forums/viewtopic.php?t=4695&p=31249#p31249 <![CDATA[scrolling listbox from a script]]>
I'm not sure about always centering the selection in the scroll window. That would sometimes be what you want. But you would not want the thing to scroll automatically if you selected the top item in the window and it scrolled down to the middle !

A general solution would be to add scroll control to anything that scrolls. This could just be a "scroll" parameter that is set to the line number you want at the top of the scroll box. Or a scroll percentage to be even more general.

Simon.

Statistics: Posted by sm_jamieson — 11 Feb 2015, 15:27


]]>
2015-02-11T15:51:28+02:00 2015-02-11T15:51:28+02:00 https://brainmodular.org/forums/viewtopic.php?t=4695&p=31248#p31248 <![CDATA[scrolling listbox from a script]]> I cannot remember but I believe awhile back I had some requests that were fixed in the listbox like correcting the numbering etc...

Centering the view on the selected object is one of them, you should send in a bug report and I will note it as well.

-S

Statistics: Posted by sephult — 11 Feb 2015, 14:51


]]>
2015-02-11T15:44:07+02:00 2015-02-11T15:44:07+02:00 https://brainmodular.org/forums/viewtopic.php?t=4695&p=31246#p31246 <![CDATA[scrolling listbox from a script]]>
If I change the current selection of a listbox from a script, and the newly selected item is scrolled out of view, I need to change the scroll position to bring the selected line into view.

Thanks,
Simon.

Statistics: Posted by sm_jamieson — 11 Feb 2015, 14:44


]]>