From Xojo Documentation
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.
Selecting an item from the menu will cause the MenuSelected event to execute.
This code (in the control's Opening event) adds a menu to the button: