Vcl.ComCtrls.TWorkAreas.Add

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function  Add: TWorkArea;

C++

HIDESBASE TWorkArea* __fastcall Add();

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.

See Also