Sign in Join
FPDoc Onlineexperiment

TCustomListView.OnChanging property

Member of TCustomListViewprotectedIn unit ComCtrls

Event handler signalled when a change notification is received for a list item.

Declaration

pascal
property OnChanging: TLVChangingEvent read FOnChanging write FOnChanging;

Description

OnChanging is a TLVChangingEvent property with the event handler signalled when a change notification is handled for the list view control. It allows modifications to list items to be handled on an item-by-item basis. It is signalled from the CanChange method (when assigned), and occurs when the widgetset class handles change notification messages for the control.

An application can implement and assign a handler to the property to determine whether a pending change is accepted or rejected for a list item.

See TItemChange for the changes items or states available in the event notification.

See TLVChangingEvent for more information about the event type and its arguments.

Please note that CanChange and OnChanging are relevant for the Windows platform only. Other platforms do not currently generate or handle change notifications for list item values.

Added in LCL version 4.0.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.