WebButton.Menu
From Xojo Documentation
Property (As WebMenuItem )
aWebButton.Menu = newWebMenuItemValue
or
WebMenuItemValue = aWebButton.Menu
New in 2020r1
Supported for all project types and targets.
or
WebMenuItemValue = aWebButton.Menu
New in 2020r1
Supported for all project types and targets.
The Menu associated with this button. When a menu is associated with the button, it appears in a section separate from the rest of the button which includes an indicator that a menu is available.
Notes
Selecting an item from the menu will cause the MenuSelected event to execute.
Sample Code
This code (in the control's Opening event) adds a menu to the button: