Skip to content

pbSingleExpand - AbstractTreeView

Determines if item being selected will collapse if it was expanded, or expand if it was collapsed

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

Syntax

Property Integer pbSingleExpand
Access Type Syntax
Read Access: Get pbSingleExpand to IntegerVariable
Write Access: Set pbSingleExpand to IntegerVariable/Value

Description

When the pbSingleExpand is property is set to True, changing the selection will automatically cause the item being selected to collapse if it was expanded, or expand if it was collapsed. The unselected item will collapse. If the user holds the CTRL key down while selecting an item, the item being unselected will not be collapsed.

Default is false.