CheckBox
CheckBox
Description
A checkbox control
Keys
- Text – Display text for label
- CallbackFunc – the name of the Lua function to call when the status is changed
- IsChecked – the initial value for the checkbox, as well as the key value in result table
Return
["Control ID"]["IsChecked"] - key value of the dialog return table which contains the boolean of the checkbox status
Example
data = {ControlID="IsClockwise", ControlType="CheckBox", Text="My text", IsChecked=true }
The return data can be accessed from (assuming the dialog return variable is named retTable ):
retTable["IsClockwise"]["IsChecked"] = true or false