RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TListItem.WorkArea Method

Returns the work area (if any) that contains the list item.

Pascal
function WorkArea: Integer;
C++
__fastcall int WorkArea();

When the list view that contains the list item organizes its client area into separate rectangular work areas, each list item is associated with a single work area. WorkArea returns the index of this work area in the list maintained by the list view's WorkAreas property. If the list view does not use work areas, WorkArea returns –1. 

To change the work area of a list item, move it into a position of the list view's client area that is covered by a different work area.

Note: Work areas are not supported if the application is running in virtual mode.
 

 

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