API:Vcl.WinXCtrls.TRelativePanel.Locked
Delphi
property Locked: Boolean read FLocked write FLocked default 0;
C++
__property Locked = {default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.WinXCtrls.pas Vcl.WinXCtrls.hpp |
Vcl.WinXCtrls | TRelativePanel |
Description
Determines whether a panel that is used as a toolbar is replaced by a toolbar supplied by an OLE server.
Vcl.WinXCtrls.TRelativePanel.Locked inherits from Vcl.ExtCtrls.TCustomPanel.Locked. All content below this line refers to Vcl.ExtCtrls.TCustomPanel.Locked.
Determines whether a panel that is used as a toolbar is replaced by a toolbar supplied by an OLE server.
Set the Locked property to false when the panel is used as a toolbar by a TOleContainer component. Any panels aligned to a TOleContainer are assumed to be replaceable toolbars unless the Locked property is true. Prevent the panel from being replaced by an OLE server's toolbar by setting the panel's Locked property to true.
Note: An OLE application's toolbars must be in panels aligned to a side of the form (that is, their Align properties must be set to alTop, alBottom, alLeft, or alRight).