About Checkbox
The PTC Mathcad Prime advanced control Checkbox returns either a 1 or a 0 (on or off), similarly to the Button control. A more sophisticated behavior is programmed through a script using the Checkbox class and other features of your scripting language. You can change the appearance of a checkbox by right-clicking and choosing > , or in some cases you can access formatting properties through the script.
There are four events in the default script for Checkbox: Start, Exec, Stop, and Click. The Exec event is where inputs and outputs can be processed, returning the state of the checkbox. Additionally, the Exec event is where the state changes are handled because it supports the Check property that delivers the state of the checkbox. Procedures for formatting the button itself can be handled in the Start event or using the Properties tab. The Click event is where the control is re-executed after the user has changed their selection.