PopupMenu.Change

From Xojo Documentation

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


PopupMenu.Change()

Supported for all project types and targets.

The selected item has changed.

Notes

Use the PopupMenu.SelectedRowIndex 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