ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Window functions
  • Title of dialog boxes
  • Equivalence
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Sets the title of the current window (returned by CurrentWin).
Reminder By default, the window title is the one defined in the editor.
Example
// Remplacer le titre de la fenêtre en cours
CurrentTitle(gBackground(LightRed) + gPen(Black) + "Modification d'une fiche client")
// Modifier le titre de la fenêtre en cours
// Ajoute "en cours"
CurrentTitle(EOT + gBackground(LightRed) + gPen(Black) + " en cours")
Syntax
CurrentTitle(<New window title>)
<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.
  • In this string, you can use gBackground to change the background color, gPen to change the text color, etc. For more details, see the remarks.
Remarks

Title of dialog boxes

The windows opened by Warning, Confirm, Dialog, Error, ErrorInfo, Info, OKCancel or YesNo have the same title as the previous window.
To change the title of the next window to open, use NextTitle.

Equivalence

The following code:
CurrentTitle(<New window title>)

is equivalent to the Title property:
MyWindow.Title = <New window title>
Business / UI classification: UI Code
Component: wd300obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Exemplo CurrentTitle
Exemplo CurrentTitle
CurrentTitle(gBackground(LightGreen) + gPen(Black) + "Janela Ensinando ")
//Blog com Video e Exemplo
http://windevdesenvolvimento.blogspot.com.br/2016/08/curso-windev-funcoes-windowsjanela-002.html
https://www.youtube.com/watch?v=8fw_ggyJXQI
De matos AMARILDO
17 Aug. 2016

Last update: 03/27/2025

Send a report | Local help