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,Add (External language)
In French: Liste,Ajoute
Adds an element into a drop-down list or into an expanded list.
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 Name> [, <Value>])
<List Name>: Character string
Name of the List Box control to modify.
<Value>: Character string (optional)
Value to add.
Remarks
  • If the List Box control is not sorted, the element is added at the end of the elements found in the list.
  • If the List Box control is sorted, the value is added at the location corresponding to the sort order.
  • For a sorted List Box control, we advise you to use List,Add rather than List,Insert.
Minimum required version
  • Version 14
Comments
Click [Add] to post a comment