Style Property (AToolBar)

Returns or sets the style of the object.

Syntax

Object.Style [ = enStyle ]

The Style property syntax has the following parts:

 

Name

Type

Description

Object

AToolBar

AToolBar control

enStyle

enumAToolBarStyle

An integer specifying the style of the object.

Where

enumAToolBarStyle can be one of the following:

 

Name

Value

Description

atbrStyleAllowCustomize

32

Allow Customize

atbrStyleFlat

1

Flat

atbrStyleShowToolTips

2

Show ToolTips

atbrStyleTextAlignRight

4

Text Align Right

atbrStyleTransparent

8

Transparent

atbrStyleWrappable

16

Wrappable

Comments

The enStyle can contain several styles with the OR operation.

Example

The following statement changes the AToolBar style to be flat and with text aligned to the right:

tbr1.Style=atbrStyleFlat or atbrStyleTextAlignRight

Applies to

AToolBar

See Also

BorderStyle