Set top window title

Command group Flag affected Reversible Execute on client Platform(s)
Windows NO YES NO All

Syntax

Set top window title {title}

Description

This command specifies the title for the top window instance. You can use square bracket notation within the window title. The title of the top window instance is cleared if you omit the window title parameter (or it evaluates to an empty string). The title reverts to the normal title if the window instance is closed and reopened. An error occurs if there is no window instance.

If you use Set top window title in a reversible block, the title reverts to its normal value when the method containing the reversible block terminates.

Example

; Use the value of lName in the window title
Prompt for input Name ? Returns lName
Set top window title {Messages for [lName]}