RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWorkAreas.Items Property

Provides indexed access to the TWorkArea objects.

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

Use Items to access the properties of the TWorkArea objects maintained by TWorkAreas.

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

ListView1.WorkAreas.Items[0].Color := 'clLtGray';

Note: can be written

ListView1.WorkAreas[0].Color := 'clLtGray';

 

Cookies 

operator_[]

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