Vcl.ExtCtrls.TButtonedEdit.ReadOnly

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ReadOnly: Boolean read GetReadOnly write SetReadOnly default 0;

C++

__property ReadOnly = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TButtonedEdit

Description

Determines whether the user can change the text of the edit control.

Vcl.ExtCtrls.TButtonedEdit.ReadOnly inherits from Vcl.StdCtrls.TCustomEdit.ReadOnly. All content below this line refers to Vcl.StdCtrls.TCustomEdit.ReadOnly.

Determines whether the user can change the text of the edit control.

To restrict the edit control to display only, 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 the user to select text. The selected text can then be manipulated by the application, or copied to the Clipboard.

See Also