- Documentation
- Client functions
- guiSetProperty
Function
guiSetProperty
Sets a control property. Supported: "CloseButtonEnabled" (the window close button) and "AlwaysOnTop"; other names are stored for the script.
Syntax
bool guiSetProperty(element guiElement, string property, mixed value)Arguments
guiElementelement- The control.
propertystring- The name.
valuemixed- The value.
Returns
true on success.
Example
guiSetProperty(win, "CloseButtonEnabled", "false")