OnItemExpand
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_OnItemExpandParameters
_refId | Parameter if INT type (required for global handler). |
_itemHandle | Item identifier. |
_bExpand | Attribute "expand" or "collapse" of the item. |
XXX | Name 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 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 function %HI_AddTreeItem.
Related pages: