setAsFirstVisible( )
Makes the tree item visible as the first (topmost) in the tree view.
Syntax
<oRef>.setAsFirstVisible( )
<oRef>
An object reference to the tree item you want to display.
Property of
TreeItem
Description
Use setAsFirstVisible( ) when you want to make sure that a tree item is visible in the tree view as close to the top of the tree view area as possible. The tree is expanded and scrolled if necessary to make the item visible.
If the tree item is close to the bottom, the tree is scrolled as high as possible.