CurrentTitle (Function) In french: TitreEnCours Modifies the title of current window (returned by CurrentWin) and the title bar. Reminder: By default, the window title is the one defined in the editor.
// Replace the title of the current window CurrentTitle(gBackground(LightRed) + gPen(Black) + "Modifying a customer form")
// Modify the title of the current window // Adds "in progress" CurrentTitle(EOT + gBackground(LightRed) + gPen(Black) + " in progress")
Syntax <New window title>: Character string New title for the current window.
Modifying the title and the title bar of the window Hide the details
CurrentTitle([<Background color> [, <Text color>, ]] <New window title>)
<Background color>: Optional integer Color used for the background of the title bar. This color can correspond to: <Text color>: Optional integer Color used for the text displayed in the title bar. This color can correspond to: <New window title>: Character string New title for the current window. If the EOT constant is specified, the new title will be added to the existing title. Remarks To change the title of the next window to open, use NextTitle. The following code:
CurrentTitle(<New window title>)
is equivalent to the Title property:
MyWindow.Title = <New window title
Business / UI classification: UI Code
This page is also available for…
|
|
|
|