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

Last update: 04/06/2023

Send a report | Local help