Versions Compared

Key

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

...

ValueDescription
autosizeStatethe Boolean status of the control’s autosize height property.
existingStatethe Boolean status of the control’s autosize height property, when Set_Property was run.

See Also

AUTOSIZEWIDTH property

Example

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