PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • 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
..StoredValue is used to find out the value currently stored by:
  • a row in a List Box, ListView or Combo Box control.
For the List Box, ListView and Combo Box controls, this value can correspond to:
  • the value of the stored item defined in the window editor ("Content" tab of the control description):
    Stored value of a Combo Box control
  • the value defined by programming with gLink.
    Reminder: In order for the retrieval of the value defined by gLink to be enabled:
Note: This property can be used to retrieve the stored values from a multi-selection List Box.
Versions 24 and later
For "Text token" edit controls, this value corresponds to the token value.
New in version 24
For "Text token" edit controls, this value corresponds to the token value.
For "Text token" edit controls, this value corresponds to the token value.
Versions 16 and later
PHP This property is now available for the PHP sites.
New in version 16
PHP This property is now available for the PHP sites.
PHP This property is now available for the PHP sites.
Example
// Values selected in a multi-selection List Box control
i is int = 1
iSelectedRow is int
iSelectedRow = ListSelect(LIST_Cedex, 1)
WHILE iSelectedRow <> -1
Trace(LIST_Cedex[iSelectedRow]..StoredValue)
i++
iSelectedRow = ListSelect(LIST_Cedex, i)
END
// Find out the stored value when selecting the 3rd element of the List Box control
Info("The stored value is " + LIST_Cedex[3]..StoredValue)
Syntax

Finding out the stored value of a List Box, ListView or Combo Box control Hide the details

<Stored value> = <Control name>[<Element subscript>]..StoredValue
<Stored value>: Character string
Value that will be stored if the user selects the element in the specified control.
<Control name>: Control name
Name of the List Box, ListView or Combo Box control to use.
<Element subscript>: Integer
Subscript of the element in the control (List Box, ListView or Combo Box) whose stored value is requested.
Remarks

Limits

..StoredValue is only used on:
  • List Box, ListView and Combo Box controls.
  • Versions 24 and later
    "Text token" edit controls.
    New in version 24
    "Text token" edit controls.
    "Text token" edit controls.
Versions 16 and later
PHP ..StoredValue only applies to the following elements:
  • Combo Box control and row of Combo Box.
  • ListView control and row of ListView.
  • Group of controls.
New in version 16
PHP ..StoredValue only applies to the following elements:
  • Combo Box control and row of Combo Box.
  • ListView control and row of ListView.
  • Group of controls.
PHP ..StoredValue only applies to the following elements:
  • Combo Box control and row of Combo Box.
  • ListView control and row of ListView.
  • Group of controls.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment