Vcl.ComCtrls.TLVEditedEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef void __fastcall (__closure *TLVEditedEvent)(System::TObject* Sender, TListItem* Item, System::UnicodeString &S);

Properties

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

Description

TLVEditedEvent is the type of the list view Vcl.ComCtrls.TCustomListView.OnEdited and Vcl.ComCtrls.TCustomListView.OnEdited event handlers.

Sender is the list view control that contains the item whose caption was edited.

Item is the item whose caption was edited.

S is the new caption for the item. Change the value of S to override the value the user typed. When OnEdited occurs, the item's Caption property has not yet been changed, so S can still be compared to the original value of Caption.

See Also