PopupMenu.SelectedRow

From Xojo Documentation

Read-Only Property (As String )
StringValue = aPopupMenu.SelectedRow

New in 2020r2

Supported for all project types and targets.

The text of the currently selected row.

Example

This example displays the value of the currently selected item in a TextField.

TextField1.Text = PopupMenu1.SelectedRow