Vcl.ComCtrls.TLVChangeEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef void __fastcall (__closure *TLVChangeEvent)(System::TObject* Sender, TListItem* Item, TItemChange Change);

Properties

Type Visibility Source Unit Parent
typedef public Vcl.ComCtrls.hpp Vcl.ComCtrls Vcl.ComCtrls

Description

TLVChangeEvent is the type of event handlers that respond when an item in a list view control changes.

Sender is the list view control that contains the item that changed.

Item is the item that just changed.

Change indicates the type of change that just occurred. Change is ctText if the Caption property of the item changed (accessed through the Items property). Change is ctImage if the ImageIndex property of the item changed (accessed through the Items property) or the appropriate image list changed in the list view. Change is ctState if the Cut, Focused, or Selected property of the item changed.

TLVChangeEvent is a procedure called by the OnChange event.

See Also