DepthIndex

Parent Previous Next

DepthIndex

This property returns the Depth index of the selected cell.


Function Definition:


int DepthIndex  {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.DepthIndex;


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


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


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


  

 

 Note: This property exists only to the following objects:

.     Matrix Grid