RowIndex

Parent Previous Next

RowIndex

This property returns the Row index of the selected cell.


Function Definition:


int RowIndex  {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 DepthIndex function: MatrixGridObjectName.RowIndex;


2.   During the execution of RunTime, run the configured event.



Example Get:


In the graphic document, the user has one MatrixGrid object (named as MatrixGrid1) and a tag type int "@TagInt". In a Button object (named as Button1) the user configures the MouseUp event with the following event:


@TagInt = MatrixGrid1.RowIndex;


In this event, the tag @TagInt value will receive the integer value indicating the selected cell Row Index.



Example Set:


In the graphic document, the user has one MatrixGrid1 object (named as MatrixGrid1). In a Button object (named as Button1) the user configures the MouseUp event with the following event:


MatrixGrid1.RowIndex = 2;


In this event, the MatrixGrid1 selected cell Row index will be 2.


  

 

 Note: This property exists only to the following objects:

.     Matrix Grid