From Xojo Documentation

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

DesktopPopupMenu.SelectionChanged(item As DesktopMenuItem)

New in 2021r3

Supported for all project types and targets.

The selected item has changed.


The item parameter is the newly selected item from the PopupMenu. Alternatively, use the DesktopPopupMenu.SelectedRowIndex property to get the index of the newly selected value.

The item is a copy of the menu item from the control therefore changing the item itself will have no impact on the original.