RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPanel.Locked Property

Determines whether a panel that is used as a toolbar is replaced by a toolbar supplied by an OLE server.

Pascal
property Locked: Boolean;
C++
__property Boolean Locked;

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

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!