BevelButton.DeleteAllRows

From Xojo Documentation

Method

BevelButton.DeleteAllRows()

Supported for all project types and targets.

Deletes all rows of the current BevelButton menu.

Sample Code

The following code deletes all the menu items in the 'BevelButton. One usage is just prior to rebuilding the menu from scratch.

BevelButton1.DeleteAllRows