Skip to content

phoAction - cCJMenuItem

Determines the cCJAction object associated with this cCJMenuItem object

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

Syntax

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

Description

Each cCJMenuItem object is associated with a cCJAction object. cCJMenuItem is a sub-class of cCJAction and normally, the item is bound to itself. It is possible to associate a menu item object with a different action object. You might do this if you decided to create separate actions and controls. In such a case, phoAction would be set to point to the appropriate action object. This approach has the disadvantage that it does not support full visual modeling in the Studio. If psCaption and psImage are defined in the action, they would not be shown in the visual modeler.

Normally you will not set this object and its value will be set to itself when the object is created.