01-26-2011 11:54 AM
Does anyone know of a way to get the current scroll bar position of a QNX List? The scrollBarOffset is the physical position of the scroll bar in the list not the scrolled amount. I am trying to place a control next to a list based on the selected item, and I am 95% there with my current approach, but the problem is that scrollIndexVisible does some funcky things when an item is selected near the bottom of the list (OK near the top). If I knew how much a list if scrolled by and the height of each cell (known), then I can accurately convert to global coordinates correctly.
01-26-2011 07:36 PM
You might consider making a custom list. They aren't that hard. You place as ScrollPane with a Sprite as it's "setScrollContent", where the Sprite acts as a container for your scroll stuff. Then you can use scrollX or scrollY for the scoll position.
01-26-2011 07:54 PM
I'll give that a shot and let you know how it goes.
01-26-2013 06:51 PM
01-27-2013 09:42 AM