393 B
393 B
Object
setValue
Sets the value of that object (input, label, checkbox, textfield, scrollbar,...)
Parameters
anyValue to set the object to
Returns
objectThe object in use
Usage
- Creates a checkbox and ticks it
local mainFrame = basalt.createFrame()
local aCheckbox = mainFrame:addCheckbox():setValue(true)
<checkbox value="true" />