Skip to content

pbEnabled - cToolbarButton

Enables or disables a button

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

Syntax

Property Boolean pbEnabled
Access Type Syntax
Read Access: Get pbEnabled to BooleanVariable
Write Access: Set pbEnabled to BooleanVariable/Value

Description

Use the pbEnabled property to enable or disable a button. When a button is disabled, it is unable to receive user-input, and it has its image grayed (unless you have set the toolbar's phoImageListDisabled property, to display custom disabled images)

Default is true.