SetCaption Method
Object List Next Object
Defined By: Menu
Description:
Sets the Caption of an item at a specific position.
Declaration:
Function SetCaption(ByVal pos As Integer, ByVal caption As String)As Integer
Details:
Position is the location of the item whose caption you want to set. Caption is the new value for the item’s caption. The caption is what is displayed in the menu.
See Also:
ItemCaptionAt method