RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDisplayDims.Items Property

Lists the TDisplayDim objects in the collection.

Pascal
property Items [Index: Integer]: TDisplayDim;
C++
__property TDisplayDim Items[int Index];

Use Items to access the properties of the TDisplayDim objects maintained by TDisplayDims.

Note: In Delphi code Items is the default property of TDisplayDims, so the name of the Items property can be left off when using this property. Thus the line

MyDim := DecisionGrid1.Dimensions.Items[0];

Note: can be written

MyDim := DecisionGrid1.Dimensions[0];

The TDisplayDim objects in the Items array should correspond exactly to the dimensions of the decision source used by the decision control associated with the TDisplayDims object. Do not directly change the elements of the Items array. To rearrange the display dimensions, use the SwapDimIndexes method of the decision source. To hide display dimensions, use the CloseDimIndexRight method of the decision source. To show hidden dimensions, use the OpenDimIndexLeft or OpenDimIndexRight method of the decision source. 

 

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