phoCommandBars - cCJContextMenu
Allows you to explicitly specify the commandbar system object that owns this context menu
Type: Property
Access: Read/Write
Data Type: Handle
Parameters: None
Syntax
Property Handle phoCommandBars
| Access Type | Syntax |
|---|---|
| Read Access: | Get phoCommandBars to HandleVariable |
| Write Access: | Set phoCommandBars to HandleVariable/Value |
Description
All context menus must be part of an active commandbar system object. Normally the context menu will use main the MDI commandbar system as its owner. This is determined within the CommandBarSystemObject function. You can specify an alternative owner object by setting phoCommandBars. Normally you will not do this.
Default is 0, which means that the owner will be determined automatically.