SelectedGridIndex
This property returns the index of the grid selected in the object.
Function Definition:
int SelectedGridIndex {get; set;}
. get: Permits the user to read the integer value.
. set: Permits the user to write the integer value.
To configure this function, follow the steps below:
1. In an object event, configure the SelectedGridIndex function: MultiTagViewerObjectName.SelectedGridIndex;
2. During the execution of RunTime, run the configured event.
Example Get:
In the graphic document, the user has one MultiTagViewer object (named as GraphicObject1). In a Text-Box object (named as GraphicObject2) the user configures the MouseUp event with the following event:
GraphicObject2.Text = GraphicObject1.SelectedGridIndex;
In this event, the GraphicObject2 will exhibit the integer value indicating the selected line.
Example Set:
In the graphic document, the user has one MultiTagViewer object (named as GraphicObject1). In a Button object (named as GraphicObject2) the user configures the MouseUp event with the following event:
GraphicObject1.SelectedGridIndex = 1;
In this event, the GraphicObject1 will select the second line of the object. The first line of the grid corresponds to the index 0 (zero).
|
Note: This property exists only to the following objects: |