PopupMenu.RowCount

From Xojo Documentation

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

New in 2019r2

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.

MsgBox(FruitPopup.RowCount.ToString)