PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Font variable
  • Window alias
  • Name of a tab pane
  • Type of object
  • 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
..Name is used to find out:
  • the name of the font associated with a Font variable.
    Note: The name of the font 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.
..Name is used to modify the name of the font associated with a Font variable.
..Name can also be used to manage the name of 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 run beforehand by 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.
Versions 18 and later
AndroidiPhone/iPadUniversal Windows 10 App Used on the MyChildWindow keyword, ..Name allows you to retrieve the name of last child window closed in a mobile application.
New in version 18
AndroidiPhone/iPadUniversal Windows 10 App Used on the MyChildWindow keyword, ..Name allows you to retrieve the name of last child window closed in a mobile application.
AndroidiPhone/iPadUniversal Windows 10 App Used on the MyChildWindow keyword, ..Name allows you to retrieve the name of last child window closed in a mobile application.
AndroidiPhone/iPadUniversal Windows 10 App Used on the MyChildWindow keyword, ..Name allows you to retrieve the name of last child window closed in a mobile application.
Versions 16 and later
WINDEV Mobile This property is now available for the Windows Phone applications.
New in version 16
WINDEV Mobile This property is now available for the Windows Phone applications.
WINDEV Mobile This property is now available for the Windows Phone applications.
Versions 15 and later
Android This property is now available for the Android applications.
New in version 15
Android This property is now available for the Android applications.
Android This property is now available for the Android applications.
Versions 17 and later
iPhone/iPad This property is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for the iPhone/iPad applications.
iPhone/iPad This property is now available for the 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 the reports in the 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 the reports in the 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 the reports in the 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 the Table controls and for the table columns in the Android applications and in the iPhone/iPad applications.
New in version 20
AndroidiPhone/iPad This property is now available for the Table controls and for the table columns in the Android applications and in the iPhone/iPad applications.
AndroidiPhone/iPad This property is now available for the Table controls and for the table columns in the Android applications and in the iPhone/iPad applications.
Note: 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
iPhone/iPadWindows MobileUniversal Windows 10 App
// Define the characteristics of a Font variable
Font1 is Font
Font1..Name = "Arial"
Font1..Size = 14
Font1..Orientation = 45
// Apply the font to "MyControl"
MyControl..Font = Font1
iPhone/iPadWindows MobileUniversal Windows 10 AppHFSQLHFSQL Client/Server
AnItem1 is Item Description
...
// Declare the item 1
AnItem1..Name = "ITM1"
AnItem1..Type = hItemText
AnItem1..Size = 20
HDescribeItem(AFile, AnItem1)
...
HDescribeFile(AFile)
HCréation(Temp_File)
// Procedure to which a control name is passed in parameter
PROCEDURE MakeVisible(Control)
// Name of current control
IF {Control}..Name = "CustomerName" THEN
{Control}..Visible = True
END
Syntax

Finding out the name of specified element Hide the details

<Result> = <Element name>..Name
<Result>: Character string
Name of specified element.
<Element name>: Character string (with or without quotes)
Name of element to use.
iPhone/iPadWindows MobileUniversal Windows 10 AppHFSQLHFSQL Client/Server

Modifying the name of specified element Hide the details

<Element name>..Name = <New name>
<Element name>: Character string (with or without quotes)
Name of dynamic object used:
or
Name of Font variable to use.
<New name>: Character string
New name for the specified element
Remarks
iPhone/iPadWindows MobileUniversal Windows 10 App

Font variable

A font can be created from a Font variable.
To define the font characteristics, use:
This font can be used:
AndroidAndroid Widget iPhone/iPadWindows MobileUniversal Windows 10 App

Window alias

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 the windows in the functions accepting a window name in parameter (CurrentTitle, NextTitle, ReturnToCapture, etc.) or to handle a control of a specific window.
To find out the alias of a window, use CurrentWin, PreviousWin or the ..Alias property.
If no alias is specified when the window is opened, an alias is automatically assigned to the window by WINDEV.
Windows Mobile

Name of a tab pane

..Name returns the name of the tab pane. For example: Tab[2] for the second tab pane.
AndroidiPhone/iPadWindows Mobile

Type of object

..Name returns an empty string ("") for:
  • the rows found in the Table, List Box, ListView or Combo Box controls,
  • the cells in Table controls.
iPhone/iPadWindows MobileUniversal Windows 10 AppHFSQL Client/ServerNative 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, ..Name is used to find out the name of the connection defined by the HFSQL engine.
Versions 18 and later
AndroidiPhone/iPadUniversal Windows 10 App Finding out the name of the last child window that was closed
In the mobile applications, the windows are opened by OpenChild (instead of Open).
You can find out the name of the last child window that was closed in the "Closing a child window" event of the window that opened the child window (the one that called OpenChild).
In the mobile applications, the windows are opened by OpenMobileWindow (or OpenChild) instead of Open.
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).
To do so, use ..Name on the MyChildWindow keyword:
// Close a child window
NameChildWindow = MyChildWindow..Name
Note: ..ReturnedValue is used to find out the value returned by the child window when it is closed.
New in version 18
AndroidiPhone/iPadUniversal Windows 10 App Finding out the name of the last child window that was closed
In the mobile applications, the windows are opened by OpenChild (instead of Open).
You can find out the name of the last child window that was closed in the "Closing a child window" event of the window that opened the child window (the one that called OpenChild).
In the mobile applications, the windows are opened by OpenMobileWindow (or OpenChild) instead of Open.
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).
To do so, use ..Name on the MyChildWindow keyword:
// Close a child window
NameChildWindow = MyChildWindow..Name
Note: ..ReturnedValue is used to find out the value returned by the child window when it is closed.
AndroidiPhone/iPadUniversal Windows 10 App Finding out the name of the last child window that was closed
In the mobile applications, the windows are opened by OpenChild (instead of Open).
You can find out the name of the last child window that was closed in the "Closing a child window" event of the window that opened the child window (the one that called OpenChild).
In the mobile applications, the windows are opened by OpenMobileWindow (or OpenChild) instead of Open.
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).
To do so, use ..Name on the MyChildWindow keyword:
// Close a child window
NameChildWindow = MyChildWindow..Name
Note: ..ReturnedValue is used to find out the value returned by the child window when it is closed.

Limits

WINDEV Mobile ..Name cannot be used on:
  • an option in a Radio Button or Check Box control,
  • an element in a TreeView control.
Android Widget ..Name only applies 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