ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Managing external languages / Object functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
List,Get (External language)
In french: Liste,Recupere
Retrieves the value of a given element or the value of the selected element in a drop-down list or in an expanded list.
Example
// In C
CALLWD("List,Get,ProdList,3");
strcpy(Value,WDString);
// In Pascal
CALLWD('List,Get,ProdList,3');
Value:=WdString;
// In VB
call CALLWD("List,Get,ProdList,3")
Value=WdString
Syntax
List,Get(<List name> [, <Subscript>])
<List name>: Character string
Name of list to use.
<Subscript>: Optional character string
Index of the element to be recovered.
Remarks
  • If <Subscript> is not specified, the value of the selected element is contained in WdString. The subscript of the element (if it exists) is contained in WdInt.
    List,Select,? should be used to retrieve the subscript of the selected element.
  • If no items are selected in the list or if the list is empty, List,Recupere returns -1 in WdEntier.
  • If <Indice> is specified, List,Retrieve returns in WdString the value of the element whose index is specified and in WdInteger the size of the element.
  • For combos with input, Liste,Recupere always returns WdChaine, which contains the value of the combo's Edit control.
  • WdInt has no meaning.
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 10/04/2024

Send a report | Local help