BBjListBox::setMultipleSelection
Description
Sets whether multiple item selection is allowed in the BBjListBox control.
Syntax
|
Return Value |
Method |
|---|---|
|
|
setMultipleSelection(int multi) |
Parameters
|
Variable |
Description |
|---|---|
|
|
Specifies if multiple item selection is allowed. 0 = Not Allowed 1 = Allowed |
Return Value
None.
Remarks
By default, multiple item selection is not allowed.
When multiple item selection is allowed, a mouse left click with no keyboard modifier selects the clicked item and deselects any previously clicked items.
Mouse left click with CMD key pressed (macOS) or CTRL key pressed (Windows) selects the clicked item without deselecting previously clicked items.
Mouse left click with SHIFT key pressed selects the entire range between the previously clicked item through the current clicked item.
Example
|
See Also
BBjListBox::getMultipleSelection
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.