[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Determines if the specified Item can be edited in the control.
Source position: comctrls.pp line 1515
protected function TCustomListView.CanEdit( |
Item: TListItem |
):Boolean; virtual; |
Item |
|
List item to examine in the method. |
True if the editor can be displayed and activated for the specified item.
CanEdit is a Boolean function used to determine if the editor can be displayed and activated for the specified Item. The return value defaults to True.
CanEdit signals the OnEditing event handler (when assigned), where the return value can be modified. Use values in Item or the list view control to determine the return value (including their respective ReadOnly properties).
CanEdit is called from the ShowEditor method, and occurs before the Editor in the control is configured and displayed.