Applies to

(Hierarchical) list box

Description

Returns the expanded position of the selected item in a (hierarchical) list box.

Usage

selecteditem = Get_Property (objectname"SELPOS_EX")

Get_Property returns an @FM-delimited array for the selected item in the list, where:

ParameterDescription
<1>Position of the selected item in the (fully expanded) list (LIST_EX).
<2>Indent of selected item.
<3>Number of "leafs" in the next level: 0 = None.
 Positive number, if leafs are visible.
 Negative number, if leafs are invisible.
<4>Position in list (SELPOS value).
<5>Position of predecessor (immediately preceding "branch").

See also

LIST_EX and SELPOS properties, Send_Message()TOPPOS property

  • No labels