BevelButton.List

From Xojo Documentation

Method

BevelButton.List(Row as Integer) As String

Supported for all project types and targets.

Returns the text of the menu item as a string.

Notes

The first menu item is zero. If the Row parameter is out of bounds, it triggers an OutOfBounds exception.

Sample Code

The following code gets the text of the third item in the BevelButton's menu.

TextField1.Text = BevelButton1.List(2)