PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
  • Limits
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.
  • Versions 20 and later
    WINDEV in a Spreadsheet control.
    New in version 20
    WINDEV in a Spreadsheet control.
    WINDEV in a Spreadsheet 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).
  • Versions 20 and later
    WINDEV when initializing the Spreadsheet control in the window editor.
    New in version 20
    WINDEV when initializing the Spreadsheet control in the window editor.
    WINDEV when initializing the Spreadsheet control in the window editor.
Note: The initial content of the 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 15 and later
Android This property is now available for the Android applications.
New in version 15
Android This property is now available for the Android applications.
Android This property is now available for the Android applications.
Versions 17 and later
iPhone/iPad This property is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for the iPhone/iPad applications.
iPhone/iPad This property is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store Apps mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store Apps mode.
Universal Windows 10 App This property is now available in Windows Store Apps mode.
Versions 20 and later
iPhone/iPad This property is now available for the table columns in the iPhone/iPad applications.
New in version 20
iPhone/iPad This property is now available for the table columns in the iPhone/iPad applications.
iPhone/iPad This property is now available for the table columns in the iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
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,
  • Versions 20 and later
    WINDEV Spreadsheet initialized in the window editor.
    New in version 20
    WINDEV Spreadsheet initialized in the window editor.
    WINDEV Spreadsheet initialized in the window editor.

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
Android

Limits

..InitialContent is not available for the columns found in the Table controls.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment