Toolbar.AddButton

From Xojo Documentation

Method

Toolbar.AddButton(button as ToolbarItem)

New in 2019r2

Supported for all project types and targets.

Adds the passed ToolbarItem as the last element of the Toolbar.