All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 1.0   1.1   1.2   1.3   1.4   1.5   1.6   1.7   1.8   2.0   2.1   2.2   2.3   2.4   2.5   2.6  

Window.SetTitle

Component: Window
Version: 1.2
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 Window.FindByIndex functions. Pass zero to access the frontmost window. 0
Title The title "Hello World"

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.

Loading



Links
MBS Realbasic PDF Plugins - Pfarrgemeinde Messdiener Nickenich