WebPopupMenu.AddAllRows

From Xojo Documentation

Method

WebPopupMenu.AddAllRows(items() as String)

Supported for all project types and targets.

Adds all rows in the array passed to the menu of the control.

Notes

A ParamArray can also be passed.

Sample Code

Add a new rows to the popup menu in the Shown event handler:

Var people() As String
people.AddRow("Fred")
people.AddRow"(Wilma")
PeoplePopup.AddAllRows(people)

Adds the new rows from a ParamArray:

PeoplePopup.AddAllRows("Fred", "Wilma")

See Also

WebPopupMenu.AddRow and WebPopupMenu.AddRowAt methods.