ComCtrls.TListItem Methods

From RAD Studio VCL Reference
Jump to: navigation, search

Delphi Information

procedure CancelEdit

Cancels the editing of the list item's caption.

procedure Delete

Deletes the list item from its list view.

function DisplayRect(Code: TDisplayCode): TRect;

Returns the bounding rectangle of the list item.

function EditCaption(): Boolean;

Begins in-place editing of the list item's caption.

function GetPosition(): TPoint;

Returns the position of the list item as a point.

procedure MakeVisible(PartialOK: Boolean);

Scrolls the list view, if necessary, to ensure a list item is in view.

procedure Update

Updates the image of the list item in the list view display.

procedure SetPosition(const Value: TPoint);

Positions the list item in its list view control.

function WorkArea(): Integer;

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


Unit: ComCtrls

Type: method

Visibility: public

Member Of: TListItem

C++ Information

void __fastcall CancelEdit(void);

Cancels the editing of the list item's caption.

void __fastcall Delete(void);

Deletes the list item from its list view.

Types::TRect __fastcall DisplayRect(Comctrls::TDisplayCode Code);

Returns the bounding rectangle of the list item.

bool __fastcall EditCaption(void);

Begins in-place editing of the list item's caption.

Types::TPoint __fastcall GetPosition(void);

Returns the position of the list item as a point.

void __fastcall MakeVisible(bool PartialOK);

Scrolls the list view, if necessary, to ensure a list item is in view.

void __fastcall Update(void);

Updates the image of the list item in the list view display.

void __fastcall SetPosition(const Types::TPoint & Value);

Positions the list item in its list view control.

int __fastcall WorkArea(void);

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


Unit: ComCtrls

Type: method

Visibility: public

Member Of: TListItem


Description

Embarcadero Technologies does not currently have any additional information. Please help us document this topic by using the Discussion page!

Personal tools
Translations
Newest Version