All functions   Mac OS X   Windows   Crossplatform   Components   New in version: 1.0   1.1   1.2   1.3   1.4   1.5   1.6   1.7   1.8   2.0  

Window.SetTitle

Component: Window
Mac OS X: Works
Windows: Works

MBS( "Window.SetTitle" ; WindowRef; Title )

Parameters

Parameter Description Example value
WindowRef Window Reference is the Unique OS level window ID. You can obtain this by using the Window.FindByTitle or the Window.FindByindex Function
Title The title

Description

Set the title of the window designated by the WindowRef. The WindowRef is returned by either Window.FindByTitle or Window.FindByIndex. Although it works on both platforms it was added specifically for Windows, where it can be used to Change the Name of the Application Window.

Examples

Set the Title of the Application Window

MBS( "Window.SetTitle" ; $$WindowRef; "New Title")

Feedback: Report problem or ask question.