Toolbar.Count

From Xojo Documentation

Method

Toolbar.Count() As Integer

Supported for all project types and targets.

The number of ToolItems in the Toolbar.