Row

The value type Row is used to group controls within a row.

../../../../_images/Row.png

Syntax

<Parameter>
<Name>Row1</Name>
<Text>Coordinates</Text>
<ValueType>Row</ValueType>
<Parameter>
</Parameter>
<Parameter>
</Parameter>
</Parameter>

All parameters contained in the parameter area Row are assigned to the row.

Use the entire row:

To use the entire row for the controls, the Value tag must be assigned to the parameter as follows:

<Value>1</ValueType>

The picture shows two rows, the second of which distributes the controls over the entire row:

../../../../_images/EntireRow.png

In this case, the Text tag of the Row parameter is not used. To display a text at the beginning of the row, a parameter with the value type Text must be added. The controls are distributed over the entire row, using a fixed size or the size defined for the controls.

Optional

If the PythonPart should be localized, the following tag must be added

<TextId>1001</TextId>

Sometimes it’s useful to hide the row depending on the value of another parameter. This is achieved by adding an additional tag to the parameter or by defining a function in the py-file Enable and visible options

Example

The implementation of the Row value type is described in the example Row, which is located in

…\etc\Examples\PythonParts\PaletteExamples\Row.pyp
…\etc\PythonPartsExampleScripts\PaletteExamples\Row.py