Window.Title

From Xojo Documentation

Property (As String )
aWindow.Title = newStringValue
or
StringValue = aWindow.Title

Supported for all project types and targets.

The text in the window’s Title bar.