PopupMenu.Change

From Xojo Documentation

Event


PopupMenu.Change()

Supported for all project types and targets.

The selected item has changed.

Notes

Use the PopupMenu.ListIndex property to get the index of the newly selected value or the PopupMenu.SelectedRowValue property to get the text of the newly selected value.

Examples

Get the text of the newly selected value:

Var newValue As String
newValue = Me.SelectedRowValue