Availability
This routine is available starting with SIL Engine™ 3.0.8.
Syntax
gadget_isChecked(argv, label)
Description
Verifies if a checkbox is selected or not.Parameters
Parameter name | Required | Description |
---|---|---|
argv | Yes | the argv variable |
label | Yes | the label of the checkbox |
Return type
boolean
Example
Assume we have the following parameter script:
gadget_createSingleCheckbox("Single Checkbox", true, false, "Required checkbox");
The following call is used in the execution script to determine if the checkbox created above is checked:
boolean res = gadget_isChecked(argv, "Single Checkbox");
See also