MobileToolbar.Count

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aMobileToolbar.Count

Supported for all project types and targets.

The number of buttons on the toolbar.

Notes

If Count = 0 then no toolbar is displayed.

Sample Code

Get the count of buttons on a Screen:

Var buttonCount As Integer = Toolbar.Count