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,Insert (External language)
In French: Liste,Insere
Inserts an element at a given subscript into a drop-down list or into an expanded list.
Example
// In C
CALLWD('List,Insert,ProdList,2=%s",CODE);
// In Pascal
CALLWD('List,Insert,ProdList,2="+CODE);
// In VB
call CALLWD("List,Insert,ProdList,2="+CODE)
Syntax
List,Insert(<List Name> , <Subscript> , <Value>)
<List Name>: Character string
Name of the List Box control to modify.
<Subscript>: Character string
Subscript of the element in the list where the element must be inserted.
<Value>: Character string
Value to insert into the list.
Remarks
  • If the list is sorted, List,Insert positions the element at the current location without sorting the list. For a sorted list, we advise you to use List,Add rather than List,Insert.
  • If the specified subscript is greater than the number of elements in the list, List,Insert is equivalent to List,Add.
Minimum required version
  • Version 14
Comments
Click [Add] to post a comment