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 = aDesktopPopupMenu.SelectedRowValue

New in 2021r3

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 DesktopTextField.

TextField1.Text = PopupMenu1.SelectedRowValue