Tree Callbacks
Description
The following callbacks are available for the tree control in BBj 2.02 and higher. For more information on Callback syntax see CALLBACK Verb - Register BBj Subroutine.
Callback Syntax |
Event |
Code |
---|---|---|
ON_TREE_SELECT |
Tree Node Selected |
N (Notify Code 1) |
ON_TREE_DESELECT |
Tree Node Deselected |
N (Notify Code 2) |
ON_TREE_EXPAND |
Tree Node Expanded |
N (Notify Code 3) |
ON_TREE_COLLAPSE |
Tree Node Collapsed |
N (Notify Code 4) |
ON_TREE_EDIT_STOP |
Node Edit Stopped |
N (Notify Code 5) |
ON_TREE_MOUSE_DOWN |
Left Mouse Down |
N (Notify Code 6) |
ON_TREE_MOUSE_UP |
Left Mouse Up |
N (Notify Code 6) |
ON_TREE_DOUBLE_CLICK |
Double-Click on Tree |
N (Notify Code 7) |
ON_TREE_RIGHT_MOUSE_DOWN |
Right Mouse Down |
N (Notify Code 8) |
ON_TREE_RIGHT_MOUSE_UP |
Right Mouse Up |
N (Notify Code 8) |