OnItemExpand picture event


Declaration
Global handler:
 ENTRY OnItemExpand(IN INT _refId, IN INT _itemHandle, IN BOOL _bExpand)
 ; script actions
 END OnItemExpand

Special handler:
 ENTRY XXX_OnItemExpand(IN INT _itemHandle, IN BOOL _bExpand)
 ;   script actions    
 END XXX_OnItemExpand
Parameters
_refIdParameter of the INT type (required for global handler).
_itemHandleItem identifier.
_bExpandAttribute "expand" or "collapse" of the item.
XXXName of Reference variable connected to graphic object (without the character "_").
Description
The picture event is being generated when given item is expanding (the parameter _bExpand=@TRUE) or collapsing in the displayer of the Tree view type. The identifier _itemHandle contains the value, that was assigned to the item when it was added to the tree view using the %HI_AddTreeItem function.
Napíšte komentár