Vcl.ComCtrls.TWorkAreas.Add
Delphi
function Add: TWorkArea;
C++
HIDESBASE TWorkArea* __fastcall Add(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TWorkAreas |
Description
Creates a new TWorkArea object and adds it to the end of the Items property array.
Call Add to add a new work area to the list view that owns this TWorkAreas object. Add returns the newly created TWorkArea object. After adding a new work area, set the work area's Rect property to indicate what portion of the list view's client area it represents.