EXPAND message
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.
Parameter | Description |
---|---|
Position | Position can have one of the following values: Value Description 0 - Expand applied to entire list box. > 0 - Position of item in list box. |
Level | If position is greater than 0, level is relative to the item at the specified position. If position is 0, level is absolute. |