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,Position (External language)
In french: Liste,Position
Positions the first element displayed in the list or returns the index of the first element displayed.
Example
// In C
//position the 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 index is not specified, WdEntier contains the index of the current element.
  • If the index 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: 09/30/2024

Send a report | Local help