event RemoveItem (Item as HITEM)

Occurs before removing an Item.

TypeDescription
Item as HITEM A long expression that indicates the handle of the item being removed.

Use the RemoveItem to release any extra data that you might have used. The control fires the RemoveItem event before removing the item. Use the RemoveItem method to remove an item from Items collection. Use the RemoveAllItems method to clear the items collection. Use the Remove method to remove a column. Use the Clear method to clear the columns collection. Use the CellData property to assign an extra data to a cell. Use the ItemData property to assign an extra data to an item.  Use the Data property to assign an extra data to a column.

Syntax for RemoveItem event, /NET version, on:

private void RemoveItem(object sender,int Item)
{
}

Private Sub RemoveItem(ByVal sender As System.Object,ByVal Item As Integer) Handles RemoveItem
End Sub

Syntax for RemoveItem event, /COM version, on:

private void RemoveItem(object sender, AxEXGANTTLib._IGanttEvents_RemoveItemEvent e)
{
}

void OnRemoveItem(long Item)
{
}

void __fastcall RemoveItem(TObject *Sender,Exganttlib_tlb::HITEM Item)
{
}

procedure RemoveItem(ASender: TObject; Item : HITEM);
begin
end;

procedure RemoveItem(sender: System.Object; e: AxEXGANTTLib._IGanttEvents_RemoveItemEvent);
begin
end;

begin event RemoveItem(long Item)
end event RemoveItem

Private Sub RemoveItem(ByVal sender As System.Object, ByVal e As AxEXGANTTLib._IGanttEvents_RemoveItemEvent) Handles RemoveItem
End Sub

Private Sub RemoveItem(ByVal Item As EXGANTTLibCtl.HITEM)
End Sub

Private Sub RemoveItem(ByVal Item As Long)
End Sub

LPARAMETERS Item

PROCEDURE OnRemoveItem(oGantt,Item)
RETURN

Syntax for RemoveItem event, /COM version (others), on:

<SCRIPT EVENT="RemoveItem(Item)" LANGUAGE="JScript">
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Function RemoveItem(Item)
End Function
</SCRIPT>

Procedure OnComRemoveItem HITEM llItem
	Forward Send OnComRemoveItem llItem
End_Procedure

METHOD OCX_RemoveItem(Item) CLASS MainDialog
RETURN NIL

void onEvent_RemoveItem(int _Item)
{
}

function RemoveItem as v (Item as OLE::Exontrol.Gantt.1::HITEM)
end function

function nativeObject_RemoveItem(Item)
return