|
|
|
|
|
InitialContent (Property) In french: ContenuInitial
The InitialContent property gets the initial content: - of a List Box control populated programmatically.
- of a Combo Box control populated programmatically.
- of a "List of values" column in a Table control.
of a Spreadsheet control.
This initial content is defined: - in the control description ("General" tab of the List Box and Combo Box controls, or the "List of values" column).
when initializing the Spreadsheet control in the window editor.
Note: It is also possible to modify the initial content of List or Combo Box controls by programming, if they are present in a RepeatString Looper control.. Important: A RepeatString Looper control can be used to create an 'Initial Content' attribute on a Combo or List Box control.. Therefore, the content of the List Box or Combo Box control can be different in each row of the looper.
ListDeleteAll(LISTE_Liste1)
ListAdd(LISTE_Liste1, LISTE_Liste1.ContenuInitial)
Syntax
Getting the initial content of a control Hide the details
<Initial content> = <Control used>.InitialContent
<Initial content>: Character string List of elements entered in the window or page editor for the initial content of the object. Elements are separated by CR characters. <Control used>: Control name Name of the control from which you want to get the initial content. The type of this control must be: - List Box populated programmatically,
- Combo Box populated programmatically,
- "List of values" column,
Spreadsheet initialized in the window editor.
Changing the initial content of a List Box or Combo Box control, or a column in a Looper control Hide the details
<Attribute name>.InitialContent = <Initial content>
<Attribute name>: Character string Name of the attribute linked to the control whose initial content must be modified. The control linked to the attribute must be a List Box or Combo Box populated programmatically or a column of type "List of values" contained in a Looper control. This parameter has the following format:
<Nom de l'attribut>[Indice de la répétition] <Initial content>: Character string List of elements defining the initial content of the object. Elements are separated by CR characters.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|