Applies to
Hierarchical List Box controls.
Description
A boolean property to allow the control to respond to mouse hover notifications and expanding a node automatically.
The control needs to have the ENABLEDROP property set to true to enable this property.
Usage
dropExpand = Get_Property (objectname,"ENABLEDROPEXPAND")
dropExpand = Set_Property (objectname,"ENABLEDROPEXPAND", bValue)
Remarks
Values passed in Set_Property():
Value | Description |
---|---|
bValue | Boolean true (1) or false (0) |
Returns
Values returned by Get_Property and Set_Property
Value | Description |
---|---|
state | the Boolean status of the control’s drop expand ability. |
existingState | the Boolean status of the control’s drop expand ability, when Set_Property was run. |
Example
Declare function Get_Property, Set_Property * retrieve the ENABLEDROPEXPAND property of the LIST_1 control and if true set to false and vice versa. lstCtrl = @window:".LIST_1" dExpand = Get_Property(lstCtrl,'ENABLEDROPEXPAND') if dExpand then newExpand = 0 else newExpand = 1 dExpand = Set_Property(lstCtrl,'ENABLEDROPEXPAND',newExpand)