[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Indicates if the user is prevented from changing the value for the Text in the control.
Source position: stdctrls.pp line 871
public property TCustomEdit.ReadOnly : Boolean |
ReadOnly is a Boolean property which indicates if the user is prevented from changing the value in the control.
ReadOnly is used in the CreateParams method to determine if the ES_READONLY edit style flag is included in the creation parameters for the control. The value is also passed to the widgetset class in the InitializeWnd method, and when the value for the property is changed.
When ReadOnly is True, the EditingDone method does not signal the OnEditingDone event handler (in the ancestor).
The default value for the property is False, and indicates that the value can be edited in the control.
|
Ensures the required creation parameters are set for handle creation. |
|
|
Initializes the window handle for the control. |
|
|
Enforces the setting in the ReadOnly property when editing is finished in the control. |
|
|
Signals the OnEditingDone event handler. |
|
|
Event handler signalled when editing is completed for the control. |
Version 3.2 | Generated 2024-02-25 | Home |