Skip to content

pbDockNextTo - cCJAbstractCommandBar

Determines if the toolbar should be docked next to the previous toolbar

Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None

Syntax

Property Boolean pbDockNextTo
Access Type Syntax
Read Access: Get pbDockNextTo to BooleanVariable
Write Access: Set pbDockNextTo to BooleanVariable/Value

Description

pbDockNextTo controls the initial placement of toolbars. It determines if a toolbar should be placed "next" to the previous toolbar or "below" the previous toolbar.

This property along with peBarPosition, peStretched and the order of the objects determines the initial position of a toolbar.

The actual position of "next" and "below" is a function of the toolbar's peBarPosition orientation. If the previous bar's orientation is top or bottom, the bar will appear in the same row and to the right of the previous bar if pbDockNextTo is true. It will appear on a new row and below the previous bar if pbDockNextTo is false. If the previous bar's orientation is left or right, the bar will appear in the same column and below the previous bar if pbDockNextTo is true. If will appear in a new column and to the right of the previous bar if pbDockNextTo if false. The previous bar is the last toolbar object defined in your source that is before this object and shares this objects peBarPosition orientation.

This only effects the initial positioning of the toolbar.

The default value is True.