DesktopToolbar.AddButtonAt

From Xojo Documentation

Method

DesktopToolbar.AddButtonAt(Index as Integer, button as DesktopToolbarItem)

New in 2021r3

Supported for all project types and targets.

Inserts the passed DesktopToolbarItem in the position indicated by Index.