I have a few instances in my code where I have a UI tree that is longer than the height of the screen and I want to scroll to a specific position.
One example is when i select a tree node using ProUITreeSelectednamesSet (or otk equivalent) I want the scroll position to be set so that the selected node is visible without needing to scroll down manually and search for the highlighted node.
Another example is setting the scroll position to the top after a node is added because the default seems to be to scroll to the bottom of the tree.
@srosell wrote:
I have a few instances in my code where I have a UI tree that is longer than the height of the screen and I want to scroll to a specific position.
One example is when i select a tree node using ProUITreeSelectednamesSet (or otk equivalent) I want the scroll position to be set so that the selected node is visible without needing to scroll down manually and search for the highlighted node.
Another example is setting the scroll position to the top after a node is added because the default seems to be to scroll to the bottom of the tree.
Hi,
please ask PTC Support.