Check Button
Check Button allows users to select any number of options from the same set of buttons.
When the user selects a Check Button, all the rest Check Buttons in the same set can be selected at the same time.
- Check Button
Properties
| Property | Description | 
|---|---|
| Checked | Whether the current control is checked. | 
| Click Event | Whether the current control triggers a click event. | 
| Hint Text | Display the hint text while mouse hovering over the control. | 
Events

| Callback Name | Callback Function | 
|---|---|
| on_click | The callback of left-click. | 
| on_right_click | The callback of right-click. | 
| on_checked_changed | The callback of the changed checked state of the control. | 
Lua Script Example
self.Checked = true
self.ClickEvent = true
self.HintText = nx_widestr("CheckButton")
--  When the button state changed after left-clicking, the callback function of the on_checked_changed will be executed
function CheckButton_checked_changed(self)
    nx_msgbox("CheckButton_checked_changed")
end