Availability
This routine is available starting with SIL Engine™ 3.0.8.
Syntax
gadget_isChecked(argv, label)
Description
Retrieves the value from a checkbox.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:
string[] res = gadget_isChecked(argv, "Single Checkbox"); //res[0] = true
See also