AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / Gestión de lenguajes externos / Funciones Objeto
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.
Versión mínima requerida
  • Versión 14
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 06/04/2023

Señalar un error o enviar una sugerencia | Ayuda local