PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Title of dialog boxes
  • Equivalence
  • Displaying the title
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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.
Versions 15 and later
Android This function is now available for Android applications.
New in version 15
Android This function is now available for Android applications.
Android This function is now available for Android applications.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 18 and later
Android Widget This function is now available in Android widget mode.
New in version 18
Android Widget This function is now available in Android widget mode.
Android Widget This function is now available in Android widget mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
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

Modifying the window title Hide the details

CurrentTitle(<New window title>)
<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

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 be opened, use the NextTitle function.

Equivalence

The following code:
TitreEnCours(<Nouveau titre de la fenêtre>)

is equivalent to the Title property:
MaFenêtre.Titre = <Nouveau titre de la fenêtre>
Universal Windows 10 App

Displaying the title

To display a title, the window must include an Action Bar control.
Business / UI classification: UI Code
Component: wd270obj.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