Skip to content

pbControlCloseSubMenu - cCJMenuItem

Determine if a popup menu should close after an item is selected

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

Syntax

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

Description

Normally a popup menu is closed after an item is selected. By setting pbControlCloseSubMenu to false you can keep the menu from closing after making the selection. This behavior can be useful if your popup menu item is a checkbox and you wish to make other selections after checking or unchecking the item.

Default is false

Col 1 Col 2
Note: This is a design-time only property. This property is applied when the COM control is created. You should not change this property after the control is created. Changing the property will have no effect on the existing control.