DesktopApplication.LastWindowIndex

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aDesktopApplication.LastWindowIndex

New in 2021r3

Supported for all project types and targets.

Returns the index of the last window the app opened.

Examples

See the Window function for an example.

See Also

Window function; Window class.