RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWorkArea Class

TWorkArea represents a rectangular subregion of a list view's client area.

Pascal
TWorkArea = class(TCollectionItem);
C++
class TWorkArea : public TCollectionItem;

Use TWorkArea to describe the dimensions and display characteristics of one work area of a list view component. Work areas divide the client area of a list view into logical subregions. The icons of the list view are then arranged within each work area, to provide an additional layer of organization. 

Each list item in the list view belongs to a single work area. This association is based on whether the position of the list item falls within the bounding rectangle specified by the work area's Rect property. 

In addition, If the list view's ShowWorkAreas property is true, the list view draws the work area, using its Color and DisplayName properties.

Note: Work areas are only used when the list view has a ViewStyle of vsIcon or vsSmallIcon.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!