Skip to content

IsPopup - cCJMenuItem

Returns true if the object is a popup type control

Type: Function
Return Data Type: Boolean

Syntax

Function IsPopup Returns Boolean

Call Example

Get IsPopup to BooleanVariable

Description

IsPopup can be called to determine if an object is a popup control. A control is a popup control if its peControlType is xtpControlPopup, xtpControlButtonPopup or xtpControlSplitButtonPopup.

This function can be useful in determining what interfaces a cCJMenuItem's COM control supports and in determining if the object is a popup and will therefore have child cCJMenuItem objects.

Return Value

Returns True if the object's peControlType is a popup type