Skip to content

pbEnableDocking - cCJAbstractCommandBar

Determines if the menubar or toolbar can be moved and docked by the user

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

Syntax

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

Description

pbEnableDocking determines if a menubar or toolbar can be moved and docked to different areas by the user. When true, the user can click on the menubar or toolbar and dock it to the top, bottom, left or right. The user can also turn the bar into a floating bar.

When set to true, you will probably also want to set the pbGripper property to True, which provides a visual clue that bar can be moved.

The default value for menubars (cCJMenuBar) is False.

The default value for toolbars (cCJToolBar) is True.