Toolbar.DropDownMenuAction

From Xojo Documentation

Event


Toolbar.DropDownMenuAction(Item as ToolItem,hitItem as MenuItem)

Supported for all project types and targets.

The passed ToolItem was chosen from the passed MenuItem.

Example

See the example for the ToolButton class. It adds a toolbar with a drop-down button style ToolButton and then uses the DropDownMenuAction event to manage menu selection from the drop-down menu.

See Also

ToolButton,ToolItem classes.