InsertItem Method

Object List Next Object

Defined By:
Menu

Description:

Puts an item into a Menu.

Declaration:

Function InsertItem(ByVal name As String, ByVal caption As String, pos As Integer)As Integer

Details:

Name is the name of the item you are inserting that will be used to refer to the item in code. Caption is the actual text that will appear on the Menu. Position is the location of the item in the Menu.

See Also:

InsertPopup method