CheckBox¶
The value type CheckBox is used to create a checkbox.
Syntax¶
<Parameter>
<Name>CheckBoxValue</Name>
<Text>CheckBox</Text>
<Value>False</Value>
<ValueType>CheckBox</ValueType>
</Parameter>
The <Value> tag can set to False, True, 0 or 1. Internally in the PythonPart script the value is 0 or 1.
Example¶
The implementation of the CheckBox value type is described in the example AllControls, which is located in
…\etc\Examples\PythonParts\PaletteExamples\AllControls.pyp
…\etc\PythonPartsExampleScripts\PaletteExamples\AllControls.py