BBjTree::setSelectionMode
Description
In BBj 8.00 and higher, this method sets the selection mode of a BBjTree control.
Syntax
|
Return Value |
Method |
|---|---|
| void | setSelectionMode(int mode) |
Parameters
| Parameter | Description |
|---|---|
| mode |
One of the constants
|
Return Value
None.
Mode Selection Constants
The getSelectionMode and setSelectionMode methods use the following constants:
| Constant | Description |
|---|---|
|
SINGLE_TREE_SELECTION |
Only one node can be selected at a time. |
|
CONTIGUOUS_TREE_SELECTION |
Multiple contiguous tree nodes can be selected. |
|
DISCONTIGUOUS_TREE_SELECTION |
Multiple tree nodes can be selected; they do not have to be contiguous. This is the default. |
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.