Changing Table Field Properties
Configuring Table Field Rows, Columns, Headers and Default Values
Table fields are specially designed to allow the user to enter data in vector or matrix form directly as a component parameter. Table fields include the following numerical sub-types:
Real
Integer
NOTE: Table fields can currently be used only in standard, non-module components.
Table field properties are adjusted directly in the property form. Simply left-click on the table field to view its properties and content.
Table Field Property Form
Appearance:
Display Name: Enter a caption to act as the visible title of the parameter field.
Symbol: Enter a symbolic name for the parameter field, which will be used as a variable name when addressing this parameter within code. Note that this name must be compatible with standard Fortran naming conventions (i.e. it must begin with a non-numeric character, do not include spaces, etc.).
Behaviour:
Condition: Enter an expression (optional) to indicate under what conditions the parameter field is to be enabled. See Expressions Statements and Operators for more details.
Group: Use this property to organize (or group) the display of the fields in the parameter form. All parameter fields that possess the same group name will be grouped together under the group name heading. For example, the image below shows part of an parameter form, where the fields have all been given the same group name (in this case Positive Sequence):
Visibility: Enter an expression (optional) to indicate under what conditions the parameter field is to be visible. See Expressions Statements and Operators for more details.
Data:
Auto-Size Mode: Select None or Content. If Content is selected, the table columns will be automatically sized according to the contents of the cells.
Animated: Select True or False. In order to utilize a value parameter field to control animated text label graphics, this property must be set as True. See Animated Graphics for more details.
Edit Table: This property is used to define the list of choices that will be part of the choice field. See Configuring Table Field Rows, Columns, Headers and Default Values below for details.
Data Type: Select Real or Integer.
Precision: Enter the precision of the table field data values, to a maximum of 6 decimal places. If the values are of arbitrary precision, select -1.
Help:
Help Text: Enter a brief statement describing the field. This text will be displayed on the actual input parameter dialog for the component.
Help Mode: Select Append or Overwrite. If Overwrite is selected, only the help text will appear at the bottom of the dialog when the user selects this parameter. If Append is selected, then the prompt text will be appended to the other parameter attribute information displayed.
Append |
Overwrite |
Table fields are configured via the Edit Table property in the Table Field Property Form. To open the table field for editing, click on the '...' button in the Edit Table field:
Table Field Property Form |
Initial Table Field Viewer |
You may add or remove columns and rows via the context menu. Right-click anywhere on the table field viewer and select your desired action:
To edit column headers, simply left-click the desired header. Modify the header name in the field provided:
To enter default data (the default values that will appear when a new instance of the component is created), simply left-click the desired cell and enter a numeric value: