RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDecisionSource.GetRowState Method

Indicates whether the adjacent dimensions are open or closed.

Pascal
function GetRowState(iDim: Integer): TRowState;
C++
__fastcall TRowState GetRowState(int iDim);

Call GetRowState to determine the state of the dimensions that are adjacent to a dimension in the current pivot state. The iDim parameter specifies the absolute index of the dimension whose neighbors are to be checked. When iDim is 0, the dimension is the first active dimension in the decision cube. When iDim is 1, it is the second active dimension, and so on. 

The return value includes rcPrevOpen if the previous dimension is open or rcPrevClosed if the previous dimension is closed. The return value includes rcNextOpen if the following dimension is open or rcNextClosed if it is closed. The first row or column dimension does not include either rcPrevOpen or rcPrevClosed. The last row or column does not include either rcNextOpen or rcNextClosed.

Note: Do not be confused by the name of the GetRowState method. It provides information about the adjacent column dimensions if iDim specifies a column dimension, or information about the adjacent row dimensions if iDim specifies a row dimension.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!