Skip to content

peBarPosition - cCJAbstractCommandBar

Determines the position of the toolbar or menubar

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

Syntax

Property Integer peBarPosition
Access Type Syntax
Read Access: Get peBarPosition to IntegerVariable
Write Access: Set peBarPosition to IntegerVariable/Value

Description

peBarPosition determines the position of the toolbar or menubar. The following values are allowed: | Constant | Meaning | |---|---| | xtpBarTop | The toolbar or menubar is docked to the top edge of the form. | | xtpBarBottom | The toolbar or menubar is docked to the bottom edge of the form. | | xtpBarLeft | The toolbar or menubar is docked to the left edge of the form. | | xtpBarRight | The toolbar or menubar is docked to the right edge of the form. | | xtpBarFloating | The toolbar or menubar is floating |

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

The default is xtpBarTop