PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
  • Value displayed in an edit control
  • Value displayed in an HTML control
  • Value displayed in a combo box
  • Value displayed in a List Box control
  • Value displayed in a table column
  • Value displayed in a table cell
  • Value displayed in a row of a Table control
  • Value displayed in a ListView control
  • Limit
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
DisplayedValue (Property)
In French: ValeurAffichée
..DisplayedValue is used to find out the value currently displayed on the screen in a window control or in a page control.
Versions 16 and later
PHP This property is now available for the PHP sites.
Universal Windows 10 App This property is now available for the Windows Phone applications.
New in version 16
PHP This property is now available for the PHP sites.
Universal Windows 10 App This property is now available for the Windows Phone applications.
PHP This property is now available for the PHP sites.
Universal Windows 10 App 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.
New in version 18
Universal Windows 10 App This property is now available in Windows Store Apps mode.
Universal Windows 10 App This property is now available in Windows Store Apps mode.
Versions 20 and later
AndroidiPhone/iPad This property is now available 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 columns in the Android applications and in the iPhone/iPad applications.
AndroidiPhone/iPad This property is now available for the table columns in the Android applications and in the iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Versions 23 and later
WEBDEV - Browser code This property is now available in browser code.
New in version 23
WEBDEV - Browser code This property is now available in browser code.
WEBDEV - Browser code This property is now available in browser code.
Example
// Find out the value displayed on the screen in the "Date" control
EDT_Date = 18031972
Trace(EDT_Date..DisplayedValue) // Displays "18/03/1972"
Syntax
<Displayed Value> = <Control Name>..DisplayedValue
<Displayed Value>: Character string
Value currently displayed on the screen in the specified control.
<Control Name>: Character string (with or without quotes)
Name of control to use.
Remarks

Value displayed in an edit control

..DisplayedValue returns the formatted string with its input mask.
WINDEVWEBDEV - Server codeAndroidiPhone/iPadUniversal Windows 10 AppAjax

Value displayed in an HTML control

..DisplayedValue returns the HTML code found between the <BODY> and </BODY> tags.
Notes:
  • Universal Windows 10 App ..DisplayedValue has no effect on the HTML controls: this property does not return anything.
  • AndroidiPhone/iPad This property is not available for HTML controls. The result corresponds to an empty string.

Value displayed in a combo box

..DisplayedValue returns the formatted string displayed:
  • in the edit control if the combo box is editable,
  • in the current row if the combo box is not editable.
Versions 22 and later
Note: using the gImage and gLink functions
To retrieve the content added by gImage and gLink, use ..InitialValue. For example, if the following code is used to add an element:
ListAdd(Combo1, gImage(nImageNum,i) + "Customer.CustomerName" + i + ...
 gLink("Customer.CustomerName" + i))
the following code is used to read the initial string again:
Combo1[1]..InitialValue
New in version 22
Note: using the gImage and gLink functions
To retrieve the content added by gImage and gLink, use ..InitialValue. For example, if the following code is used to add an element:
ListAdd(Combo1, gImage(nImageNum,i) + "Customer.CustomerName" + i + ...
 gLink("Customer.CustomerName" + i))
the following code is used to read the initial string again:
Combo1[1]..InitialValue
Note: using the gImage and gLink functions
To retrieve the content added by gImage and gLink, use ..InitialValue. For example, if the following code is used to add an element:
ListAdd(Combo1, gImage(nImageNum,i) + "Customer.CustomerName" + i + ...
 gLink("Customer.CustomerName" + i))
the following code is used to read the initial string again:
Combo1[1]..InitialValue

Value displayed in a List Box control

..DisplayedValue returns:
  • the formatted string displayed in the specified row if a row number is specified,
  • the formatted string displayed in the current row if no row number is specified.

Value displayed in a table column

..DisplayedValue returns the formatted string displayed in the cell corresponding to the specified column and to the current row.

Value displayed in a table cell

..DisplayedValue returns the formatted string displayed in the cell corresponding to the specified column and to the specified row.

Value displayed in a row of a Table control

..DisplayedValue returns the values of each column of the specified row separated by TAB characters.
Note: ..DisplayedValue does not return the value of invisible columns.
WINDEVWindows Mobile

Value displayed in a ListView control

..DisplayedValue returns:
  • the caption of the element displayed in the specified row if a row number is specified,
  • the caption of the element displayed in the current row if no row number is specified.

Limit

..DisplayedValue only applies to the:
  • Edit controls,
  • Combo boxes,
  • List boxes and rows in list boxes,
  • Table columns and table rows,
  • Table cells,
  • Versions 15 and later
    Static controls,
    New in version 15
    Static controls,
    Static controls,
  • WINDEVWEBDEV - Server code HTML controls.
  • Versions 16 and later
    WEBDEV - Server code Image.
    New in version 16
    WEBDEV - Server code Image.
    WEBDEV - Server code Image.
  • Versions 16 and later
    WEBDEV - Server code Clickable image.
    New in version 16
    WEBDEV - Server code Clickable image.
    WEBDEV - Server code Clickable image.
  • Versions 16 and later
    WEBDEV - Server code Thumbnail.
    New in version 16
    WEBDEV - Server code Thumbnail.
    WEBDEV - Server code Thumbnail.
Java In Java, ..DisplayedValue only applies to the following elements:
  • Edit control.
  • List box.
  • Combo box.
  • Table column.
WEBDEV - Browser code In browser code, ..DisplayedValue only applies to the following elements:
  • Edit control.
  • Formatted display control.
Versions 16 and later
PHP In PHP, ..DisplayedValue only applies to the following elements:
  • Edit control.
  • Formatted display control.
  • iFrame control.
  • Image
  • Clickable image.
  • Thumbnail.
  • Table row.
  • Cell control.
  • Menu.
  • Group of controls.
  • Combo box and rows of a combo box.
  • List box and rows of a list box.
New in version 16
PHP In PHP, ..DisplayedValue only applies to the following elements:
  • Edit control.
  • Formatted display control.
  • iFrame control.
  • Image
  • Clickable image.
  • Thumbnail.
  • Table row.
  • Cell control.
  • Menu.
  • Group of controls.
  • Combo box and rows of a combo box.
  • List box and rows of a list box.
PHP In PHP, ..DisplayedValue only applies to the following elements:
  • Edit control.
  • Formatted display control.
  • iFrame control.
  • Image
  • Clickable image.
  • Thumbnail.
  • Table row.
  • Cell control.
  • Menu.
  • Group of controls.
  • Combo box and rows of a combo box.
  • List box and rows of a list box.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment