Difference between revisions of "PagePanel.LastAddedPanelIndex"

From Xojo Documentation

Line 10: Line 10:
 
}}
 
}}
 
{{Description
 
{{Description
|text = 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.}}
+
|text = The number of the last Panel added with the [[PagePanel.AddPanel|AddPanel]] or [[PagePanel.AddPanelAt|AddPanelAt]] methods. LastAddedPanelIndex is zero-based. If no panels have been added, LastAddedPanelIndex will be -1.}}

Revision as of 21:32, 20 June 2019

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

New in 2019r2

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.