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,Add (External language)
In french: Liste,Ajoute
Adds an element to a Combo Box or List Box control.
Example
// In C
CALLWD('List,Add,ProdList=%s",CODE);
// In Pascal
CALLWD('List,Add,ProdList='+CODE);
// In VB
call CALLWD("List,Add,ProdList="+CODE)
Syntax
List,Add(<List to handle> [, <Value>])
<List to handle>: Control name
Name of the List Box or Combo Box to be modified.
<Value>: Character string (optional)
Value to add.
Remarks
  • If the List Box or Combo Box control is not sorted, the element is added at the end of the list.
  • If the List Box or Combo Box control is sorted, the value is added at the corresponding location within the sort order.
  • In the case of a sorted List Box or Combo Box control, List,Add should be used instead of List,Insert.
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help