Ole4D Methods

OCMenuEnabled(p_AreaVar)


Returns the value set with OCEnableMenu.
Using this method you can check if during activation the Ole object's menu is allowed to replace the 4D main menu.
This method is the pair of OCEnableMenu.

Parameters

Parameter Type   Description
p_AreaVar Longint -> Variable of the plug-in area.

Return Values
0–Menu was not replaced
1–Menu was replaced.
The operating system code of invalid parameter error - if the area sent as parameter does not exist.