Vcl.ComCtrls.TLVEditingEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef void __fastcall (__closure *TLVEditingEvent)(System::TObject* Sender, TListItem* Item, bool &AllowEdit);

Properties

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

Description

TLVEditingEvent is the type of event handlers that respond when the user starts to edit the caption of an item in a list view control.

Sender is the list view control that contains the item whose caption the user is about to edit.

Item is the item whose caption the user is about to edit.

AllowEdit returns True if the user is permitted to edit the caption, False if the list view should prevent the user from changing the caption.

TLVEditingEvent is the procedure type of the TCustomListView.OnEditing and the TListView.OnEditing events.

See Also