Versions Compared

Key

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

...

ValueDescription
statethe Boolean status of the control’s drop list ability.
existingStatethe Boolean status of the control’s drop list ability, when Set_Property was run.

Example

 
Code Block
Declare function Get_Property, Set_Property
 
* retrieve the ENABLEDROPLIST property of the LIST_1 control and if true set to false and vice versa.
 
lstCtrl = @window:".LIST_1"
 
dList = Get_Property(lstCtrl,'ENABLEDROPLIST')
if dList then newList = 0 else newList = 1
dList = Set_Property(lstCtrl,'ENABLEDROPLIST',newList)