DesktopPopupMenu.RowCount

From Xojo Documentation

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

Read-Only Property (As Integer )
IntegerValue = aDesktopPopupMenu.RowCount

New in 2021r3

Supported for all project types and targets.

The number of rows in the popup menu.

Example

This example displays the number of rows in the popup menu.

MessageBox(FruitPopup.RowCount.ToString)