|
|
|
|
|
Content (Property) In french: Contenu
The Content property is used to read or write the whole content of a control: - List Box populated programmatically,
- Combo Box populated programmatically,
- Spreadsheet.
This allows you to read or write all the rows in the control in a single line of code. Remark: On a List Box or Combo Box control based on a data file, you can only read the list of elements. // Adds elements to the current content of the List Box control LIST_List1.Content = LIST_List1.Content + CR + "Tommy" + CR + "Emma"
Syntax
Getting the content of a Spreadsheet control, or a List Box or Combo Box populated programmatically Hide the details
<Control content> = <Control used>.Content
<Control content>: Character string List of elements for the content of the control. Elements are separated by CR characters. <Control used>: Control name Name of the control to be used. This control must be: - a List Box control populated programmatically,
- a Combo Box control populated programmatically,
- a table column of type "List of values",
- a Spreadsheet control.
Changing the content of a Spreadsheet control, or a List Box or Combo Box populated programmatically Hide the details
<Control used>.Content = <Control content>
<Control used>: Control name Name of the control to be used. This control must be: - a List Box control populated programmatically,
- a Combo Box control populated programmatically,
- a table column of type "List of values",
- a Spreadsheet control.
<Control content>: Character string List of elements displayed in the control. Elements are separated by CR characters.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|