Page History
...
Value | Description |
---|---|
autosizeState | the Boolean status of the control’s autosize width property. |
existingState | the Boolean status of the control’s autosize width property, when Set_Property was run. |
See Also
Example
Code Block |
---|
Declare function Get_Property, Set_Property /* retrieve the AUTOSIZEWIDTH property of the COMMENTS control and if true set to false and vice versa. autosizeState = Get_Property(@window:’.COMMENTS’,’AUTOSIZEWIDTH’) if autosizeState then newState = 0 end else newState = 1 end existingState = Set_Property(@window:’.COMMENTS’,’AUTOSIZEWIDTH’,newState) |