Skip to content

DoMakeItemVisible - TreeView

Forces TreeView to display an item in its visible area

Type: Procedure

Parameters

Parameter Type Description
hItem Handle Item handle

Syntax

Procedure DoMakeItemVisible Handle hItem

Call Example

Send DoMakeItemVisible hItem

Description

Calling DoMakeItemFirstVisible forces an item to be displayed inside the TreeView control. If necessary, the control will scroll up or down and parent items will be expanded to ensure the item becomes visible.

Sample

This sample shows how to make sure a specific item is visible in the oTreeView1 control

Procedure MyCustomMethod Handle hItem
    Send DoMakeItemVisible of oTreeView1 hItem
End_Procedure

See Also

DoMakeItemFirstVisible