API:FMX.NumberBox.TNumberBox.ReadOnly
Delphi
property ReadOnly;
C++
__property ReadOnly = {default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FMX.NumberBox.pas FMX.NumberBox.hpp |
FMX.NumberBox | TNumberBox |
Description
Determines whether you can change the text of this edit control.
FMX.NumberBox.TNumberBox.ReadOnly inherits from FMX.Edit.TCustomEdit.ReadOnly. All content below this line refers to FMX.Edit.TCustomEdit.ReadOnly.
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.