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.

Eigenschaft von

TreeItem

Beschreibung

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.

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.