Skip to content

DoExpandAll - TreeView

Expands an item and all its children

Type: Procedure

Parameters

Parameter Type Description
hItem Handle Item handle

Syntax

Procedure DoExpandAll Handle hItem

Call Example

Send DoExpandAll hItem

Description

You can call DoExpandAll to expand an item and all its children.

If you want to expand the whole tree, pass zero as hItem.

Sample

This sample shows how to expand a specific item and all its children in TreeView oTreeView1

Procedure MyCustomMethod Handle hItem
    Send DoExpandAll of oTreeView1 hItem
End_Procedure

Sample

This sample shows how to expand all items in TreeView oTreeView1

Send DoExpandAll of oTreeView1 0

See Also

DoExpandItem