PopupMenu.SelectedRowValue

From Xojo Documentation

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

New in 2019r2

Supported for all project types and targets.

The value of the currently selected row.

Example

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

TextField1.Value = PopupMenu1.SelectedRowValue