Makes the tree item visible in the tree view.

Syntax

<oRef>.ensureVisible( )

<oRef>

An object reference to the tree item you want to display.

Property of

TreeItem

Description

Use ensureVisible( ) when you want to make sure that a tree item is visible in the tree view. The tree is expanded and scrolled if necessary to make the item visible. If the tree item is already visible, nothing happens.