StringComboBox¶
The value type StringComboBox is used to create a combo box for a string input.
Syntax¶
<Parameter>
<Name>StringComboBoxValue</Name>
<Value>Text1</Value>
<ValueList>Text1|Text2|Text3</ValueList>
<ValueType>StringComboBox</ValueType>
</Parameter>
Additional info about the <Value> and <ValueList> tag are shown here Value and ValueList
Example¶
The implementation of the StringComboBox value type is described in the example ComboBox, which is located in
…\etc\Examples\PythonParts\PaletteExamples\ComboBox.pyp
…\etc\PythonPartsExampleScripts\PaletteExamples\ComboBox.py
and
…\etc\Examples\PythonParts\PaletteExamples\ComboboxLocalisedStringValues.pyp…\etc\PythonPartsExampleScripts\PaletteExamples\ComboboxLocalisedStringValues.py