HI_DeleteItem

HI_DeleteItem

%HI_DeleteItem function


Function

The function %HI_DeleteItem deletes the specified item of the Windows control of Tree view type (Control function).

Declaration

%HI_DeleteItem( INT in refId [[, INT in itemIdx], BOOL in bOnlyChilds] )

Parameters

refId

Reference to graphic object (reference variable).

itemIdx

Unique identifier of the item.

bOnlyChild

Deleting all subitems only. If the value is:

  • @TRUE - delete all subitems

Description

The function deletes the tree view item given by the parameter itemIdx (from 1 ...), or currently selected item, if the parameter is not entered.