ColumnIndex

Parent Previous Next

ColumnIndex

This property returns the Column index of the selected cell.


Function Definition:


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


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.ColumnIndex;


In this event, the tag @TagInt value will receive the integer value indicating the selected cell Column 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.ColumnIndex = 2;


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


  

 

 Note: This property exists only to the following objects:

.     Matrix Grid