From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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.


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

TextField1.Text = PopupMenu1.SelectedRow