< Previous | Contents | Next >
The CheckboxControl displays a simple checkbox and label in the tools control window.
This control returns a Number with a value of either 1 (checked) or 0 (unchecked). To add a CheckboxControl, set the INPID_InputControl attribute of the AddInput function to the string "CheckboxControl".
A common usage is to display several checkbox controls on the same line through use of the AddInput functions ICD_Width attribute. It is also generally a good idea to set INP_Integer = true.