Item

This command will return the Action value of the button referenced by its index value.

Group: Menu Strip Extensions

Syntax: MenuStrip.Item(nIndex)

nIndex             (Long) is the index value of the requested button

Example:

Dim sName As String

sName = MenuStrip.Item(4) ' the Exit button

If the forth button is the Exit button, “Exit” is returned.

Supported Version  RFgen 5.0 and newer.