PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
..InitialContent is used to find out and modify the initial content:
  • of a memory List Box control.
  • of a memory Combo Box control.
  • of a "List of values" column found in a Table control.
This initial content was defined:
  • when describing the control ("General" tab of the List Box control, Combo Box control or "List of values" column).
Note: The initial content of List Box or Combo Box controls can also be modified by programming if they are found in a Looper control.
Important: A Looper control is used to create an 'Initial content' attribute on a Combo Box or List Box control. Therefore, a different content can be found for the List Box or Combo Box controls for each occurrence of this looper.
Versions 23 and later
WEBDEV - Browser code This property is now available in browser code.
New in version 23
WEBDEV - Browser code This property is now available in browser code.
WEBDEV - Browser code This property is now available in browser code.
Example
// Clears the list and restores its initial content
ListDeleteAll(LIST_List1)
ListAdd(LIST_List1, LIST_List1..InitialContent)
Syntax

Finding out the initial content of a control Hide the details

<Initial Content> = <Control Name>..InitialContent
<Initial Content>: Character string
List of elements entered in the window editor or in the page editor for the initial content of the object. The elements are separated by CR characters.
<Control Name>: Character string (with or without quotes)
Name of the control whose initial content is requested. The type of this control must be:
  • Memory list box,
  • Memory combo box,
  • "List of values" column,

Modifying the initial content of a List Box control, Combo Box control or column found in a Looper control Hide the details

<Attribute Name>..InitialContent = <Initial Content>
<Attribute Name>: Character string (with or without quotes)
Name of the attribute linked to the control whose initial content must be modified. The control linked to the attribute must be a memory List Box control, a memory Combo Box control or a "List of values" column found in a Looper control. This parameter has the following format:
<Attribute name>[Row subscript]
<Initial Content>: Character string
List of elements defining the initial content of the object. The elements are separated by CR characters.
Remarks
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment