Vcl.ComCtrls.TLVEditedEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TLVEditedEvent = procedure(Sender: TObject; Item: TListItem; var S: string) of object;

C++

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

Properties

Type Visibility Source Unit Parent
type
typedef
public
Vcl.ComCtrls.pas
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