Vcl.DBCGrids.TDBCtrlGrid.EditMode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property EditMode: Boolean read GetEditMode write SetEditMode;

C++

__property bool EditMode = {read=GetEditMode, write=SetEditMode, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.DbCGrids.pas
Vcl.DBCGrids.hpp
Vcl.DBCGrids TDBCtrlGrid

Description

Determines whether the TDBCtrlGrid can be used to insert, delete, or edit records.

Set EditMode to true to allow the user to edit the dataset using the grid. The user can toggle EditMode by pressing F2 or Enter. Inserting or deleting records using the grid will set EditMode to true.

See Also