PDFPopupMenu.AddAllRows

From Xojo Documentation

Method

PDFPopupMenu.AddAllRows(Items() As String)

New in 2021r3

Supported for all project types and targets.


Method

PDFPopupMenu.AddAllRows(paramArray items As String)

New in 2021r3

Supported for all project types and targets.


Appends the elements of the array to the items in the pop-up menu.

The parameter is an array of Strings. This is equivalent to calling AddRow repeatedly, once for each element of the array.

Example

The following example adds two items to the menu. It is equivalent to the example for AddRow that calls AddRow repeatedly.

Me.AddAllRows("Banana", "Orange")