Modifying Toolbars
Object Order
The left to right, top to bottom orientation of toolbars is determined by the object declaration order of the toolbar objects. To change the position of a toolbar with respect to other toolbars, use the Code Explorer to change the object order of toolbar objects.
For more information, see Object Manipulation.
Toolbar Docking Position
Toolbars can be docked to the top, bottom, left, or right edges of their container object. To move a toolbar to a different edge, select it and change the toolbar's peBarPosition property in the Object Properties panel. The toolbar will be docked to the selected edge in the Visual Designer.
Note: If you select the
xtpBarFloatingbar position to create a floating toolbar, it will not be represented as a floating toolbar in the Visual Designer.
Docking Toolbars Next to Each Other
If you want to make a toolbar fit on the same row as the previous toolbar in the object order, select the toolbar object and set the pbDockNextTo property to True in the Object Properties panel.
If the toolbar can fit on the same row as the previous toolbar, it will be positioned there; otherwise, it will be wrapped down to the next row.
Note: Toolbars are positioned relative to other objects that are docked to the same edge. Toolbars docked to different edges are ignored.
Creating Multiple Rows
If you want to make a toolbar start on the next row from the previous toolbar in the object order, select the toolbar object and set the pbDockNextTo property to False in the Object Properties panel.