DesktopPagePanel.PanelCount

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aDesktopPagePanel.PanelCount

New in 2021r3

Supported for all project types and targets.

Gets the number of panels in the PagePanel.

Example

This example displays the number of panels on the PagePanel in a DesktopLabel.

Example

Me.Value = PagePanel1.PanelCount.ToString