Toolbar.AddButtonAt

From Xojo Documentation

Method

Toolbar.AddButtonAt(Index as Integer, button as ToolbarItem)

New in 2019r2

Supported for all project types and targets.

Inserts the passed ToolbarItem in the position indicated by Index.