if I add Checkbox as a Control to Dialogue How can I get the value of Checkbox?
In general, use value() method of the corresponding DialogField object. Details depend on what exactly you’re doing.
```
Dialog dialog = new Dialog("New dialog with checkBox");
NoYesId checkValue = NoYes::No;
DialogField dialogField = dialog.addFieldValue(extendedTypeStr(NoYesId), checkValue, "Check it");
if (dialog.run())
{
checkValue = dialogField.value();
info(strfmt("Value %1" , checkValue));
}
```