FMX.Edit.TCustomEdit.ReadOnly

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ReadOnly: Boolean read GetReadOnly write SetReadOnly default False;

C++

__property bool ReadOnly = {read=GetReadOnly, write=SetReadOnly, default=0};

Properties

Type Visibility Source Unit Parent
property public
FMX.Edit.pas
FMX.Edit.hpp
FMX.Edit TCustomEdit

Description

Determines whether you can change the text of this edit control.

To prevent the contents of the edit control from being edited, set the ReadOnly property to True. Set ReadOnly to False to allow the contents of the edit control to be edited.

Setting ReadOnly to True ensures that the text is not altered, while still allowing you to select text. The selected text can then be manipulated by the application, or copied to the Clipboard.

See Also