Vcl.DBGrids.TColumn.ReadOnly

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property  ReadOnly: Boolean read GetReadOnly write SetReadOnly stored IsReadOnlyStored;

C++

__property bool ReadOnly = {read=GetReadOnly, write=SetReadOnly, stored=IsReadOnlyStored, nodefault};

Properties

Type Visibility Source Unit Parent
property published
Vcl.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TColumn

Description

Determines whether data displayed in the column is editable.

Data displayed in the column cannot be changed by the user at runtime if ReadOnly is set to true. If ReadOnly is set to false (and the data grid's Options property includes the dgEditing flag), users can edit data directly from the grid.

See Also