Enabled Property (AToolBarButton)

Returns or sets a value that determines whether a toolbar button can respond to user-generated events.

Syntax

Object.Enabled [ = bEnabled ]

The Enabled property syntax has the following parts:

 

Name

Type

Description

Object

AToolBarButton

AToolBarButton class

bEnabled

Bool

A boolean expression that specifies whether a toolbar button can respond to user-generated events.

Where

bEnabled can be one of the following:

 

Value

Description

True

The toolbar button can respond to user-generated events.

False *

The toolbar button cannot respond to user-generated events.

Example

The following statement changes the AToolBarButton to enable it to respond to user-generated events:

tbrb1.Enabled=True

Applies to

AToolBarButton

See Also

Style, Visible