bgreenhouse
Technical User
Hi Folks
This is a little complicated, but I'll try to whittle it down. I've got a Ftree component set up, and I use setSelectedNode() to set which node is shown as selected. If there's a list of nodes that's long enough to require vertical scrolling, and I set a node below the lower edge of the window - you have to scroll down to see which node is selected. I want it to be done automatically.
I know how to set the vertical scroll position in a scrollPane, but I'm not sure how to go about doing this in the FTree component - I thought (hoped) it would do it automatically when I set a certain node to be selected.
Any thoughts?
Thanks,
Ben
This is a little complicated, but I'll try to whittle it down. I've got a Ftree component set up, and I use setSelectedNode() to set which node is shown as selected. If there's a list of nodes that's long enough to require vertical scrolling, and I set a node below the lower edge of the window - you have to scroll down to see which node is selected. I want it to be done automatically.
I know how to set the vertical scroll position in a scrollPane, but I'm not sure how to go about doing this in the FTree component - I thought (hoped) it would do it automatically when I set a certain node to be selected.
Any thoughts?
Thanks,
Ben