You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Robert Jelic edited this page May 2, 2022
·
7 revisions
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()