API:Vcl.DBLookup.TPopupGrid.CanEdit

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CanEdit: Boolean; override;

C++

virtual bool __fastcall CanEdit();

Properties

Type Visibility Source Unit Parent
function protected
Vcl.DbLookup.pas
Vcl.DBLookup.hpp
Vcl.DBLookup TPopupGrid

Description

Specifies whether the text of a lookup list item can be changed by the user.

Vcl.DBLookup.TPopupGrid.CanEdit inherits from Vcl.DBLookup.TDBLookupList.CanEdit. All content below this line refers to Vcl.DBLookup.TDBLookupList.CanEdit.

Specifies whether the text of a lookup list item can be changed by the user.

CanEdit is called automatically when the user attempts to edit the text of the lookup list item specified by the Item parameter. CanEdit returns True if the text of a lookup list item can be changed, False otherwise.