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