Robert Jelic edited this page 2022-05-02 18:34:07 +02:00
With checkbox, the user can set a bool to true or false
Here are all possible functions available for checkbox:
Remember checkbox inherits from object:
Create a onChange event:
localmainFrame=basalt.createFrame("myFirstFrame"):show()localaCheckbox=mainFrame:addCheckbox("myFirstCheckbox"):onChange(function(self)basalt.debug("The value got changed into "..self:getValue())end):show()
Wiki Navigation
Home
Delete Page
Deleting the wiki page "Checkbox" cannot be undone. Continue?