This section explains the arguments used in the various list and drop-down list macros.
(cx-create-list parent label visible-lines multiple-selections
row column)
| Argument | Type | Description |
|---|---|---|
| parent | object | The name of the table that you are adding the list to |
| label | string | The name of the list to be displayed on the GUI |
| visible-lines | symbol/int | The number of lines of text visible before a scroll bar is needed |
| multiple-selections | symbol/Boolean | Allows you to choose between having one item at a time selected or multiple |
| row | symbol/int | When added to a table, signifies the row that the list is added to |
| column | symbol/int | When added to a table, signifies the column that the list is added to |
Note: The visible-lines, multiple-selections, row, and column attributes are optional. If they are not included,
the number of visible lines has a default of ten and multiple-selections
is #f, meaning that you can only select one
list item at a time. Furthermore, if the row or column attributes
are left out then the list will be added to the first row/column of
the parent attribute and overwrite anything that is already in that
spot.
(cx-create-drop-down-list parent label multiple-selections
row column)
| Argument | Type | Description |
|---|---|---|
| parent | object | The name of the table that you are adding the drop-down list to |
| label | string | The name of the drop-down list to be displayed on the GUI |
| row | symbol/int | When added to a table, signifies the row that the drop-down list is added to |
| column | symbol/int | When added to a table, signifies the column that the drop-down list is added to |
Note: The row and column attributes are optional. If not included, the drop-down list will
be added to the first row/column of the parent attribute and overwrite
anything that is already in that spot.
(cx-set-list-items list items)
| Argument | Type | Description |
|---|---|---|
| list | list | The name of the list you are adding items to |
| items | strings | The strings that represent each item to be added to the list |
(cx-set-list-selections list selections)
| Argument | Type | Description |
|---|---|---|
| list | list | The name of the list you are setting the selections of |
| selections | list | The members of the list that you want selected |