Versions Compared

Key

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

...

ValueDescription
anchorStatethe Boolean status of the control’s bottom anchor.
existingStatethe Boolean status of the control’s bottom anchor, when Set_Property was run.

See Also

ANCHORRIGHT property

Example

Code Block
Declare function Get_Property, Set_Property
* retrieve the ANCHORBOTTOM property of the COMMENTS control  and if true set to false and vice versa.
anchorState = Get_Property(@window:’.COMMENTS’,’ANCHORBOTTOM’)
if anchorState then
   newState = 0
end else
    newState = 1
end
existingState = Set_Property(@window:’.COMMENTS’,’ANCHORBOTTOM’,newState)