Description

Expands or collapses a hierarchical list box to the specified level.

Syntax

listitem = Send_Message(controlID, "EXPAND", position, level)

Parameters

For EXPAND, the Send_Message function has the following parameters.

ParametersDescription
Position

Position can have one of the following values:

ValueDescription
0Expand applied to entire list box.
> 0Position of item in list box.
LevelIf position is greater than 0, level is relative to the item at the specified position. If position is 0, level is absolute.
  • No labels