ChangeDataSource
This function configures the source of the data that will be shown in the Matrix Grid Object.
Function Definition:
void ChangeDataSource( string tagName );
. string tagName: A String parameter containing the name of the Tag wich the data will come from.
To configure this function, follow the steps below:
1. In an object event, configure the ChangeDataSource function: MatrixGridObjectName.ChangeDataSource(tagName);
2. During the execution of RunTime, run the configured event.
Example:
In the graphic document, the user has one MatrixGrid object (named as MatrixGrid1). In a Button object (named as Button4) the user configures the MouseUp event with the following event:
MatrixGrid1.ChangeDataSource("VT_Matrix");
In this event, the data source has changed to the values of the tag @VT_Matrix.
|
Note: This property exists only to the following objects: |