PDFPopupMenu.AddRow

From Xojo Documentation

Method

PDFPopupMenu.AddRow(item As String)

New in 2021r3

Supported for all project types and targets.

Appends Item in a new row to the end of the list.

Example

The following example in the Opening event of the control adds two rows to the menu.

Me.AddRow("Banana")
Me.AddRow("Orange")