guides:programming:programmers_reference_manual:enabledropexpand

ENABLEDROPEXPAND Property

Hierarchical List Box controls.

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.

dropExpand = Get_Property(objectname,"ENABLEDROPEXPAND")

dropExpand = Set_Property(objectname,"ENABLEDROPEXPAND", bValue)

Values passed in Set_Property():

ValueDescription
bValueBoolean true (1) or false (0)

Values returned by Get_Property and Set_Property

ValueDescription
statethe Boolean status of the control’s drop expand ability.
existingStatethe Boolean status of the control’s drop expand ability, when Set_Property was run.
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)
 
 
 
 
 
 
  • guides/programming/programmers_reference_manual/enabledropexpand.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1