Versions Compared

Key

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

...

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

Example

 
Code Block
Declare function Get_Property, Set_Property
 
* retrieve the ENABLEDROPSCROLL property of the EDITLINE_1 control and if true set to false and vice versa.
 
dropScroll = Get_Property(@window:'.EDITLINE_1','ENABLEDROPSCROLL')
 
if dropScroll then newScroll = 0 else newScroll = 1
 
dropScroll = Set_Property(@window:'.EDITLINE_1','ENABLEDROPSCROLL',newScroll)