RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDecisionSource.ToggleDimIndex Method

Changes whether a dimension is open, closed, or drilled.

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

Call ToggleDimIndex to open a closed dimension, close an open dimension, or expand a drilled dimension.  

When dimGroup is dgRow, the Index parameter specifies the row-specific index of the dimension. When dimGroup is dgCol, Index specifies the column-specific index of the dimension. The first row or column dimension has an Index of 0, the second dimension has an Index of 1, and so on. The bOpen parameter specifies whether closed dimensions should be counted when interpreting the Index parameter. When bOpen is true, only open dimensions are counted. 

 

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