From RAD Studio API Documentation
Jump to: navigation, search


property Locked: Boolean read FLocked write FLocked default False;


__property bool Locked = {read=FLocked, write=FLocked, default=0};


Type Visibility Source Unit Parent
property protected
Vcl.ExtCtrls TCustomPanel


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).

See Also