ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Managing external languages / Object functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
List,Select,? (External language)
In french: Liste,Select,?
Returns the element selected in the list.
Example
// In C
CALLWD("List,Select,?,ProdList,1");
strcpy(Selection,WDString);
strcpy(Subscript,WDInt);
// In Pascal
CALLWD('List,Select,?,ProdList,1');
Selection:=WdString;
Subscript:=WdInt;
// In VB
call CALLWD("List,Select,?,ProdList,1")
Selection=WdString
Subscript=WdInt
Syntax
List,Select,?(<List name> , <Rank>)
<List name>: Character string
Name of list to use.
<Rank>: Character string
Rank of the selected element (multi-selection list): 1 to get the first selected element, 2 to get the second one, ...
Remarks
  • WdInt contains the subscript of the selected element.
  • WdString contains the value of the selected element.
  • If no selection was performed, WdInt is equal to -1.
  • If this function is used on the editable combo boxes, the value returned by WdInt is inconsistent.
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 04/06/2023

Send a report | Local help