Returns or sets a value that determines whether a toolbar button can respond to user-generated events.
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. |
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. |
The following statement changes the AToolBarButton to enable it to respond to user-generated events:
tbrb1.Enabled=True