Previous Up Next

_CBtreeExpand
Define a callback function on expand event.

ObjTree _CBtreeExpand (
ObjTree _tree_
fun [ObjTree u0 ObjTreeItem I] u1 _callback_
u0 _user_
)
Parameters

_tree_
any tree object
_callback_
callback function on expand event (supplemental parameters are item and state : 0 if closed, 1 if opened)
_user_
user parameter
Return value

same tree object