DesktopPopupMenu.LastRowIndex
From Xojo Documentation
Read-Only Property (As Integer )
IntegerValue = aDesktopPopupMenu.LastRowIndex
New in 2021r3
Supported for all project types and targets.
New in 2021r3
Supported for all project types and targets.
The number of the last row of the DesktopPopupMenu. Because, like nearly all of the Xojo framework, the DesktopPopupMenu is zero-based, this value will be 1 less than the DesktopPopupMenu.RowCount.