DockLeftOf(Bar: IUiBar): Boolean;
Bar. The component, to the left of which the current component must be placed.
The DockLeftOf method enables the user to dock the current component to a form by placing it to the left of the component specified in the parameters.
The method enables the user to dock the ToolBar panel to the form by placing it to the left of the panel specified in the Bar parameter.
If the ToolBar component was successfully docked, the method returns True, otherwise it returns False. The docking is not allowed:
If the Edge property of the Bar component is set to None, that is, the object is not docked to anything and it is placed as a separate window.
If the Bar component is invisible (Visible = False).
See also: