Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

Example

 

Code Block
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)