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.
  • Font variable
  • Alias of a window
  • Name of a tab pane
  • Object type
  • Name of a connection
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The Property Name allows you to know:
  • the name of the font associated with a Font variable.
    Remark: The font name must correspond to one of the fonts installed on the current computer.
  • the name of a control, report or report block.
  • the name of a control, group of controls or window.
  • the name of a control, group of controls or page.
    WEBDEV - Browser code The Property Name allows to know the real name of an control generated in the page, i.e. the alias of control. This property can only be used on the following types of controls: edit control, List Box, Combo Box, Check Box, Radio Button and Button.
The Property Name allows you to change the name of the font associated with an Variable of type Font.
The Property Name also allows you to manage the name of the different HFSQL objects. You can:
  • Find out the name of a connection.
  • Find out the name of an object handled by indirection:
    • data file defined in the data model editor or by programming,
    • view,
    • query previously executed with function HExecuteQuery,
    • item defined in the data model editor or by programming,
    • link defined in the data model editor or by programming.
  • Define the name of the described element:
    • when a file is described by programming,
    • when an item is described by programming,
    • when a link is described by programming,
    • when a full-text index is described by programming.
Universal Windows 10 AppAndroidiPhone/iPad Used on the MyChildWindow keyword, the Name property allows to retrieve the name of the last closed child window in a mobile application.
Versions 15 and later
Android This property is now available for Android applications.
New in version 15
Android This property is now available for Android applications.
Android This property is now available for Android applications.
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store apps mode.
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
Android Widget This property is now available in Android Widget mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store apps mode.
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
Android Widget This property is now available in Android Widget mode.
Universal Windows 10 App This property is now available in Windows Store apps mode.
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
Android Widget This property is now available in Android Widget mode.
Versions 20 and later
AndroidiPhone/iPad This property is now available for Table controls and table columns in Android and iPhone/iPad applications.
New in version 20
AndroidiPhone/iPad This property is now available for Table controls and table columns in Android and iPhone/iPad applications.
AndroidiPhone/iPad This property is now available for Table controls and table columns in Android and iPhone/iPad applications.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 21 and later
Apple Watch This property is now available in Apple Watch mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Apple Watch This property is now available in Apple Watch mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Apple Watch This property is now available in Apple Watch mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
WINDEVWEBDEV - Server codeReports and QueriesUniversal Windows 10 AppWindows MobileiPhone/iPadUser code (UMC)Ajax
// Définir les caractéristiques d'une variable de type Police
Police1 is Font
Police1.Name = "Arial"
Police1.Size = 14
Police1.Orientation = 45
// Appliquer la police au champ "MonChamp"
MyControl.Police = Police1
WINDEVWEBDEV - Server codeReports and QueriesUniversal Windows 10 AppWindows MobileiPhone/iPadUser code (UMC)AjaxHFSQLHFSQL Client/ServerHyper File 5.5
UneRub1 is Item Description
...
// Déclaration de la rubrique 1
UneRub1.Name = "RUB1"
UneRub1.Type = hItemText
UneRub1.Size = 20
HDescribeItem(UnFichier, UneRub1)
...
HDescribeFile(UnFichier)
HCréation(Fic_temp)
// Procédure à laquelle le nom d'un champ est passé en paramètre
PROCÉDURE RendreVisible(Champ)
// Nom du champ en cours
IF {Champ}..Name = "NomClient" THEN
{Champ}..Visible = True
END
Syntax

Finding out the name of specified element Hide the details

<Result> = <Element used>.Name
<Result>: Character string
Name of specified element.
<Element used>: Character string (with or without quotes)
Name of element to use.
WINDEVWEBDEV - Server codeReports and QueriesUniversal Windows 10 AppWindows MobileiPhone/iPadUser code (UMC)AjaxHFSQLHFSQL Client/Server

Modifying the name of specified element Hide the details

<Element used>.Name = <New name>
<Element used>: Character string (with or without quotes)
Name of dynamic object used:
or
Name of the Font variable to use.
<New name>: Character string
New name for the specified element
Remarks
WINDEVWEBDEV - Server codeReports and QueriesUniversal Windows 10 AppWindows MobileiPhone/iPadUser code (UMC)Ajax

Font variable

A font can be created from a Font variable.
To define the font characteristics, use:
This font can be used:
WINDEVUniversal Windows 10 AppWindows MobileAndroidAndroid Widget iPhone/iPadUser code (UMC)

Alias of a window

The same window (child or sibling window) can be opened several times. To differentiate and identify the opened windows, an alias is assigned to each window.
To define an alias, use OpenSister or OpenChild. This alias is used to identify windows with functions that take a window name as a parameter (CurrentTitle, NextTitle, ReturnToCapture, etc.) or to handle a control in a given window.
To know the alias of a window, use the CurrentWin, PreviousWin or Property Alias functions.
If no alias is specified when the window is opened, an alias is automatically assigned to the window by WINDEV.
WINDEVWindows MobileJavaUser code (UMC)

Name of a tab pane

The Property Name returns the name of the tab pane. For example: Tab[ 2] for the second tab panel.
WINDEVWEBDEV - Server codeWindows MobileAndroidiPhone/iPadJavaUser code (UMC)PHPAjax

Object type

The Property Name returns an empty string ("") for:
  • the rows found in the Table, List Box, ListView or Combo Box controls,
  • the cells in Table controls.
WINDEVWEBDEV - Server codeReports and QueriesUniversal Windows 10 AppWindows MobileiPhone/iPadUser code (UMC)AjaxHFSQL Client/ServerOLE DBNative Connectors (Native Accesses)

Name of a connection

A connection can be created by a Connection variable. The name of the connection corresponds to the name of the variable.
If a connection with the same name already exists (in the analysis or described beforehand), the name of the connection is defined by the HFSQL engine that adds a suffix (a number) to the name of the variable.
In this case, the Property Name allows to know the name of the connection defined by the HFSQL engine.
Versions 18 and later
Universal Windows 10 AppAndroidiPhone/iPad Finding out the name of the last child window that was closed
In the mobile applications, the windows are opened by OpenMobileWindow (or OpenChild) instead of Open up.
You can find out the name of the last child window that was closed in the "Closing of a child window" event of the window that opened the child window (the one that called OpenMobileWindow or OpenChild).
Just use the Property Name on the keyword MyChildWindow:
// Fermeture d'une fenêtre fille
NomFenêtreFille = MyChildWindow.Name
Remark: The Property ReturnedValue allows to know the value returned by the child window when closing it.
New in version 18
Universal Windows 10 AppAndroidiPhone/iPad Finding out the name of the last child window that was closed
In the mobile applications, the windows are opened by OpenMobileWindow (or OpenChild) instead of Open up.
You can find out the name of the last child window that was closed in the "Closing of a child window" event of the window that opened the child window (the one that called OpenMobileWindow or OpenChild).
Just use the Property Name on the keyword MyChildWindow:
// Fermeture d'une fenêtre fille
NomFenêtreFille = MyChildWindow.Name
Remark: The Property ReturnedValue allows to know the value returned by the child window when closing it.
Universal Windows 10 AppAndroidiPhone/iPad Finding out the name of the last child window that was closed
In the mobile applications, the windows are opened by OpenMobileWindow (or OpenChild) instead of Open up.
You can find out the name of the last child window that was closed in the "Closing of a child window" event of the window that opened the child window (the one that called OpenMobileWindow or OpenChild).
Just use the Property Name on the keyword MyChildWindow:
// Fermeture d'une fenêtre fille
NomFenêtreFille = MyChildWindow.Name
Remark: The Property ReturnedValue allows to know the value returned by the child window when closing it.

Limits

WINDEVWEBDEV - Server codeWINDEV Mobile The Name property cannot be used on:
  • an option in a Radio Button or Check Box control,
  • an element in a TreeView control.
WEBDEV - Browser code The Property Name applies only to the following fields:
  • Edit control,
  • List Box,
  • Combo Box,
  • Check Box,
  • Radio Button,
  • Button,
  • Versions 23 and later
    Group of controls.
    New in version 23
    Group of controls.
    Group of controls.
Java The Name property applies only to the following elements:
  • Button.
  • Libellé.
  • Edit control.
  • Image.
  • Check Box.
  • Radio Button.
  • List Box.
  • Combo Box.
  • TreeView.
  • Tab.
  • Window.
  • Table.
  • Table column.
  • Supercontrol.
Android Widget The Name property applies only to the following elements:
  • Button control.
  • Static control.
  • Image control.
  • Window.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment