Style Property (AToolBarButton)

Returns or sets the style of an AToolBar Button object.

Syntax

Object.Style [ = enBorderStyle ]

The Style property syntax has the following parts:

 

Name

Type

Description

Object

AToolBarButton

AToolBarButton class

enBorderStyle

enumAToolBarButtonStyle

An integer specifying the style of the object.

Where

enumAToolBarButtonStyle can be one of the following:

 

Name

Value

Description

atbrbStyleDefault

0

Default

atbrbStyleCheck

1

Check

atbrbStyleDropDown

2

Drop Down

atbrbStyleGroup

3

Group

atbrbStyleSeparator

4

Separator

Comments

AToolBarButtons that have the Group style must be grouped. To distinguish a group, place all AToolBarButton objects with the same style (Group) between two AToolBarButton objects with the Separator style.

Example

The following statement changes the style to a Check style:

tbrb1.Style=atbrbStyleCheck

Applies to

AToolBarButton

See Also

AToolBarStyle