PopupMenu

Xojo provides a PopupMenu control for desktop and web projects:

Tip

In iOS apps, the common practice is to have the user navigate to another Screen that contains a iOSMobileTable.

Common members

These events, methods and properties are both common amongst the desktop, mobile and web versions of the control and are the most commonly used. See the individual controls for more members and details.

Events

Name

Description

SelectionChanged

The selected item has changed.

Methods

Name

Description

AddRow

Adds a new row to the menu using the value passed.

RemoveRowAt

Removes the row at the index passed.

RemoveAllRows

Removes all rows from the popupmenu.

RowTextAt

Returns the text of the row at the index passed.

Properties

Name

Description

SelectedRowIndex

The index of the currently selected row.

SelectedRowText

The text of the currently selected row.