Sign in Join
FPDoc Onlineexperiment

TFileNameEdit.ReadOnly property

Member of TFileNameEditpublishedIn unit EditBtn

Indicates if the user is prevented from changing the value for the Text in the control.

Declaration

pascal
property ReadOnly:;

Description

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.

This description is the one of StdCtrls.TCustomEdit.ReadOnly.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.