MobileScreen.ControlCount

From Xojo Documentation

Property (As Integer )
aMobileScreen.ControlCount = newIntegerValue
or
IntegerValue = aMobileScreen.ControlCount

Supported on Mobile.

The number of controls on the Screen.

Sample Code

Get the number of controls on the Screen:

Var count As Integer = Self.ControlCount