RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDecisionSource.OpenDimIndexRight Method

Opens the first closed dimension that appears after a specified dimension.

Pascal
procedure OpenDimIndexRight(dimGroup: TDimGroup; Index: Integer; bOpen: Boolean);
C++
__fastcall OpenDimIndexRight(TDimGroup dimGroup, int Index, Boolean bOpen);

Call OpenDimIndexRight to reopen a closed dimension so that its values appear in the decision control. 

OpenDimIndexRight opens the first closed dimension after the dimension identified by the Index parameter. If the dimGroup parameter is dgRow, Index identifies a row dimension, where 0 specifies the first row dimension, 1 specifies the second row dimension, and so on. If the dimGroup parameter is dgCol, Index identifies a column dimension, starting with an index of 0 for the first column dimension. No other values for dimGroup should be used with the OpenDimIndexRight method. To open the first closed row or column dimension, set Index to -1. The bOpen parameter specifies whether closed dimensions are counted when interpreting Index. Only open dimensions are counted when bOpen is true. 

 

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