PopupMenu.List

From Xojo Documentation

Read-Only Property (As String )
StringValue = aPopupMenu.List(Index as Integer)

Supported for all project types and targets.

Returns the item specified by Index. The first item is numbered zero.

Example

The following is in the Action event of a PushButton. It displays the fifth element of a PopupMenu.

MsgBox(PopupMenu1.List(4))