I DONT THINK THIS is inappropriate I think this was auto-marked as spam just because I edited it a lot of times? It was on it's 24th view (all from me I think) when I refreshed the page and it changed from visible to marked as spam.. I would love help with the question, and also with making the question visible to people haha.
Link to post: (How to set scroll position for list boxes)
by MarkJohnson
https://community.jmp.com/t5/Discussions/How-to-set-scroll-position-for-list-boxes/m-p/327645#M57685
I am getting Object 'ListBoxBox' does not recognize the message 'get scroll position' errors when trying to set the scroll location for a list box. My script automatically selects a value from the list, but if that value is not currently visible, it looks like the list box has no selection. It would be good for me if I could get it to scroll down to make sure the user doesn't get confused by this. I've been looking at the Set Scroll Position documentation. Does anyone know how to do this? Thanks! Names Default To Here( 1 ); listOfItems = {}; for (i = 1, i <= 30, i++, insert into(listOfItems,"Item " || char(i)); ); New Window( "Example", fontobj = lb = List Box( listOfItems, width( 200 ), max selected( 2 ), nlines( 6 ) ) ); lb << set selected(7); //lb << somehow scroll down to make position 7 visible!
This message has 0 replies