RFUserInterface.AddMenu



Your Ad Here

Description

Copies RapidForm command menu or adds custom command menu to menu bar to organize user menus.

Syntax

Function RFUserInterface.AddMenu(srcWorkbenchName As String, srcParentName As String, srcMenuName As String, destWorkbenchName As String, destParentName As String, destMenuName As String, type As RFMenuItemType) As RFErrorCode

The AddMenu syntax has these parts:

Part Description
srcWorkbenchName [INString Required. If menu type is RF_MENU_ITEM_RF_COMMAND, it indicates the name of workbench having source menu. If menu type is RF_MENU_ITEM_USER_COMMAND, it indicates the name of VBA project.
srcParentName [INString Required. If menu type is RF_MENU_ITEM_RF_COMMAND, it indicates the name of parent popup menu having source menu. If menu type is RF_MENU_ITEM_USER_COMMAND, it indicates the name of VBA project item.
srcMenuName [INString Required. If menu type is RF_MENU_ITEM_RF_COMMAND, it indicates the name of source menu. If menu type is RF_MENU_ITEM_USER_COMMAND, it indicates the name of VBA subroutine.
destWorkbenchName [INString Required. The name of workbench which creates destination menu.
destParentName [INString Required. The name of parent popup menu to which destination menu add.
destMenuName [INString Required. The name of destination menu.
type [INRFMenuItemType Required. The type of menu.

Remarks

Return to Rapidform Index


Your Ad Here