PopupMenu.AddRows

From Real Software Documentation

Jump to: navigation, search
Method
PopupMenu.AddRows ( Items() as String )

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.

dim s(1) as string
s(0)="Abbott"
s(1)="Costello"

me.addrows s
Personal tools