Grid Config MultiTagViewer

Parent Previous Next

Grid Config MultiTagViewer

This property will configure what tag the MultiTagViewer object will exhibit and how columns will be displayed.


The MultiTagViewer object permits the user to configure each column with a different type depending of its need. There are six types of column configurations in the Grid Config:


.     Default: This is the default type of column. The user will be able to set the size width of the column, the background color, the header and enable/disable the input of the column.


.     Text: This type replaces the default column by a text-box. The user will be able to set the same properties as the default type and some others configuration as:


1.   Text: Configures the text that will be displayed in the field.

2.   MouseDown: Configures a script that will be executed when the user presses the left-click of the mouse in the field.

3.   MouseUp: Configures a script that will be executed when the user releases the left-click of the mouse in the field.

4.   MouseWhile: Configures a script that will be executed when the user presses and hold the left-click of the mouse in the field.

5.   MouseDoubleClick: Configures a script that will be executed when the user double-clicks the field.

6.   DynamicBackgroud: In this property the user will be able to change the color of the background according to the value of a tag or expressesion. The configuration is similar to the DynamicColor.


.     Button: This type replaces the default column by a button. The user will be able to set the same properties as the default type and some others configuration as:


1.   Text: Configures the text that will be displayed in the field.

2.   MouseDown: Configures a script that will be executed when the user presses the left-click of the mouse in the field.

3.   MouseUp: Configures a script that will be executed when the user releases the left-click of the mouse in the field.

4.   MouseWhile: Configures a script that will be executed when the user presses and hold the left-click of the mouse in the field.

5.   MouseDoubleClick: Configures a script that will be executed when the user double-clicks the field.


.     Image: This type replaces the default column by an image. The user will be able to set the same properties as the default type and some others configuration as:


1.   Source File: Configures the image that will be displayed in the field.

2.   MouseDown: Configures a script that will be executed when the user presses the left-click of the mouse in the field.

3.   MouseUp: Configures a script that will be executed when the user releases the left-click of the mouse in the field.

4.   MouseWhile: Configures a script that will be executed when the user presses and hold the left-click of the mouse in the field.

5.   MouseDoubleClick: Configures a script that will be executed when the user double-clicks the field.

6.   DynamicImage: In this property the user will be able to change the image according to the value of a tag or expressesion. The configuration is similar to the DynamicColor. The only difference is that in the DynamicImage there is an extra field, named as Default Image. This field will be set if the value of the tag or expressesion is different of all the values configured in the grid.


.     Check-Box: This type replaces the default column by a check-box. The user will be able to set the same properties as the default type and some others configuration as:


1.   Text: Configures the text that will be displayed in the field.

2.   Tag: Configures a tag that will be related to the check-box value.

3.   MouseDown: Configures a script that will be executed when the user presses the left-click of the mouse in the field.

4.   MouseUp: Configures a script that will be executed when the user releases the left-click of the mouse in the field.

5.   MouseWhile: Configures a script that will be executed when the user presses and hold the left-click of the mouse in the field.

6.   MouseDoubleClick: Configures a script that will be executed when the user double-clicks the field.


.     Combo-Box: This type replaces the default column by a combo-box. The user will be able to set the same properties as the default type and some others configuration as:


1.   SelectedItem: Display the selected item of the combo-box. The displayed item can be configured to be shown in a different form.

2.   SelectedIndex: Display the selected index of the combo-box. The displayed item can be configured to be shown in a different form.

3.   SelectionChanged: Configures a script that will be executed when the selected item of the combo-box is changed. This property is the same of the combo-box object.

4.   Items: Configures the items that will be displayed in the column.

5.   DynamicItems: Configures the Dynamic items with a tag that will be displayed in the column.



To configure the Columns Config, follow the steps below:

1.   Click the desired object to select it.

3.   Click the Grid Config tab.

4.   Insert the desired tag/ScreenTag in the Tag Field.

5.   presses Enter to validate the tag.

6.   If the inserted tag is valid, the columns available to the tag will be shown in the left area.

7.   Select the desired column.

8.   Drag the selected column to the column at the right.

9.   Repeat the steps 8 and 9 until all the desired columns are selected.

10. Click the OK button.



To configure the header of a column (Method 1):

1.   In the Grid Config, Double-Click in the desired column in the Right area.

2.   In the Columns tab, Insert the desired Header in the Header area.



To configure the header of a column (Method 2):

1.   In the Grid Config, Click the desired column in the Right area.

2.   Click the Columns Tab.

3.   Insert the desired header in the Header field.



To configure the background color of a column:

1.   In the Grid Config, Click the desired column in the Right area.

2.   Click the Columns tab.

3.   Select the desired color.



To configure the size of a column:

1.   In the Grid config, Click the desired column in the Right area.

2.   Click the Columns tab.

3.   Insert the desired value to the Width field.

4.   Click the OK button.



To change the type of the column:

1.   In the Grid config, Click the desired column in the Right area.

2.   Click the Columns tab.

3.   In the Combo-box Column Type  select the desired Type.

4.   Configures the desired fields.



 

Note: This property exists only to the following objects:

.     Multi Tag Viewer