List Box - Multiple Selection Behavior (Magic xpa 3.x)
When defining a list box with multiple selection mode, more than a single item can be selected. The key combinations below let the end user select single or multiple items.
Click
|
Selects the clicked item and deselects all other items.
|
Ctrl+Click
|
Selects or deselects the clicked item without affecting the other selected items.
|
Shift+Click
|
Selects all the items from the last selected item to the clicked item.
|
Shift+Up Arrow
|
Selects the clicked item and all items below it.
|
Shift+Down Arrow
|
Selects the clicked item and all items above it.
|
Up Arrow
|
Deselects all items and selects the item before the currently selected item.
|
Down Arrow
|
Deselects all the items and selects the item after the currently selected item.
|
If the specified data attribute value is Vector, the selected value is stored in the vector as the value of the first cell. The size of an updated vector reflects the total number of selected items. For a Single selection, the List box data property, defined as a Vector, returns 1.
When the Selection Mode = Multiple, the specified attribute value is displayed as series of selected values determined by the Items List or the Linked Field, separated by commas. The order of the concatenated result string is by the order of the items as they appear in the list and not by the order of selection.
How Do I Retrieve Data from a Multiple Selection List Box?