[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TCustomListView.OnEditing

Event handler signalled to determine if editing can be performed for a list item in the control.

Declaration

Source position: comctrls.pp line 1602

protected property TCustomListView.OnEditing : TLVEditingEvent
  read FOnEditing
  write FOnEditing;

Description

OnEditing is a TLVEditingEvent property with the event handler used to determine if a list item can be edited in the control. Arguments passed to the event handler included the control (TCustomListView), the list item (TListItem), and an updatable Boolean argument which indicates if editing is allowed for the list item. Set the AllowEdit argument to False to prevent the list item from being edited.

OnEditing is signalled (when assigned) from the CanEdit method, and determines the return value for the function. It occurs when the private ShowEditor method is called for the list view control.

See also

TCustomListView.CanEdit

  

Determines if the specified list Item can be edited in the control.

TLVEditingEvent

  

Specifies an event handler signalled when an edit action is started for an item on a list view control.


Version 3.2 Generated 2024-02-25 Home