Skip to content

pbGrouped - cToolbarButton

Creates groups of buttons

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

Syntax

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

Description

Use the pbGrouped property to create groups of buttons. This is most commonly used to create radiogroups, where only one button of a group can be pressed at any time. To create a radiogroup, set all buttons in the group to have their pbGrouped property to True and their peStyle set to bsCheck.

Another use for groups is to ensure that all buttons is a group are wrapped onto a new row together, if the toolbar's pbWrapable property is True and it needs to create new rows.

Default is false.