DesktopToolbar.Count

From Xojo Documentation

Method

DesktopToolbar.Count() As Integer

New in 2021r3

Supported for all project types and targets.

The number of ToolItems in the DesktopToolbar.