Vcl.WinXCtrls.TToggleSwitch.ReadOnly

From RAD Studio API Documentation

Delphi

property ReadOnly: Boolean read FReadOnly write FReadOnly default 0;

C++

__property ReadOnly = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.WinXCtrls.pas
Vcl.WinXCtrls.hpp
Vcl.WinXCtrls TToggleSwitch

Description

Indicates whether the toggle switch is in read-only mode. {{#multireplace:Vcl.WinXCtrls.TToggleSwitch.ReadOnly|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.WinXCtrls.TCustomToggleSwitch.ReadOnly|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.WinXCtrls.TCustomToggleSwitch.ReadOnly|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Indicates whether the toggle switch is in read-only mode.

If True, the user cannot change the state of the toggle switch. You can still change the State programatically.

Default is False.

See Also