DesktopPagePanel.LastAddedPanelIndex

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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

New in 2021r3

Supported for all project types and targets.

The number of the last Panel added with the AddPanel or AddPanelAt methods. LastAddedPanelIndex is zero-based. If no panels have been added, LastAddedPanelIndex will be -1.