DockLeftOf(Bar: IUiBar): Boolean;
Bar. The component, to the left of which the current component should be placed.
The DockLeftOf method enables the user to bind 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 bind the ToolBar panel to the form by placing it to the left of the panel specified in the Bar parameter.
If the binding of the ToolBar component was done successfully, the method returns True, otherwise, it returns False. The binding can not be done:
If the Edge property of the Bar component is set to None, that is, the object is not bound to anything and it is placed as a separate window.
If the Bar component is invisible (Visible = False).
See also: