ItemCount: The number of menu items in the current menu (read only)
Menuitem[]: The menu item to be displayed
AboutBox: Displays the About dialog box.
PopUp ( [in] int x, [in] int y): Pops up the menu. If no value is passed for X or Y position (or both), the current mouse position is used to display the popup menu. The x and y values are relative to the window, not to the screen.
Clear: Clears off all menu items.
RemoveItem ([in] int index): Removes the specified item. If the menu item does not exist, nothing is done.
Additem ([in] String, [in/optional] int index): Adds the passed menu item at the specified index. If no index is passed, the item is appended to the menu.
Click(int item): Item clicked is one of the parameters passed.
<OBJECT ID=IEMenu1 CLASSID="clsid:7823A620-9DD9-11CF-A662-00AA00C066D2" CODEBASE="http://activex.microsoft.com/controls/iexplorer/x86/iemenu.cab#version=4,71,115,0" WIDTH=1 HEIGHT=1 ALIGN=LEFT HSPACE=0 VSPACE=0> <PARAM NAME="Menuitem[0]" VALUE="This is the first item"> <PARAM NAME="Menuitem[1]" VALUE="This is the second item"> <PARAM NAME="Menuitem[2]" VALUE="This is the third item"> <PARAM NAME="Menuitem[3]" VALUE=""> <PARAM NAME="Menuitem[4]" VALUE="This is the fourth item"> </OBJECT> <SCRIPT LANGUAGE="VBScript"> Sub IEMenu1_Click(ByVal x) Alert "Menu click on item: "&x call IEMenu1.RemoveItem(x) call IEMenu1.AddItem("Added Me", x) End Sub Sub ShowMenu_onClick call IEMenu1.PopUp() End Sub </SCRIPT>