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,Insert (External language)
In french: Liste,Insere
Inserts an element at the given index of a drop-down or 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
Element index in the list where the element is to 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 version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help