RFUserInterface.DeleteMenu
Description
Removes a menu in menu bar.
Syntax
Function RFUserInterface.DeleteMenu(workbenchName As String,
parentName As String, menuName As String) As RFErrorCode
The DeleteMenu syntax has these parts:
| Part |
Description |
| workbenchName |
[IN] String Required. The name of workbench. |
| parentName |
[IN] String Required. The name of parent popup menu. |
| menuName |
[IN] String Required. The name of menu to delete. |
Remarks
- A unique command is identified by 3 hierarchical name identifiers, which are workbench name, parent name in the menu hierarchy and the command name itself as built in the RapidForm GUI menu bar. For an example, the "welding a shell" command in the Polygon workbench can be identified as follows,
Workbench name: "Polygon"
Parent name: "Weld"
Command name: "One Shell"
For another example, the "shrinking shells" command in the Polygon workbench can be identified as follows,
Workbench name: "Polygon"
Parent name: "Tool"
Command name" "Shrink Shell"
- This method deletes the menus added by RFUserInterface.AddMenu
only.
Return to Rapidform Index