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,Position (External language)
In french: Liste,Position
Position the first element displayed in the list or returns the subscript of the first element displayed.
Example
// In C
//position element 10 at the top of the list
CALLWD("List,Position,NameList,10");
// In Pascal
(* position element 10 at the top of the list *)
APPELWD('List,Position,NameList,10');
// In VB
'position element 10 at the top of the list
call CALLWD("List,Position,NameList,10")
Syntax
List,Position(<List name> [, <Subscript>])
<List name>: Character string
Name of the List Box control to modify.
<Subscript>: Character string (optional)
Index of the element to position.
Remarks
  • If the subscript is not specified, WdInt contains the subscript of the current element.
  • If the subscript is specified, the corresponding element is positioned at the top of the list.
  • List,Position selects no element. The function used to select an element is List, Select, +.
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 04/06/2023

Send a report | Local help