PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

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
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 the 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 required version
  • Version 14
Comments
Click [Add] to post a comment