Type | Description | |||
ItemIndex as Long | A long expression that indicates the index 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 Remove method to remove an item from Items collection. Use the RemoveAll 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 ItemIndex) { } Private Sub RemoveItem(ByVal sender As System.Object,ByVal ItemIndex As Integer) Handles RemoveItem End Sub |
private void RemoveItem(object sender, AxEXLISTLib._IListEvents_RemoveItemEvent e) { } void OnRemoveItem(long ItemIndex) { } void __fastcall RemoveItem(TObject *Sender,long ItemIndex) { } procedure RemoveItem(ASender: TObject; ItemIndex : Integer); begin end; procedure RemoveItem(sender: System.Object; e: AxEXLISTLib._IListEvents_RemoveItemEvent); begin end; begin event RemoveItem(long ItemIndex) end event RemoveItem Private Sub RemoveItem(ByVal sender As System.Object, ByVal e As AxEXLISTLib._IListEvents_RemoveItemEvent) Handles RemoveItem End Sub Private Sub RemoveItem(ByVal ItemIndex As Long) End Sub Private Sub RemoveItem(ByVal ItemIndex As Long) End Sub LPARAMETERS ItemIndex PROCEDURE OnRemoveItem(oList,ItemIndex) RETURN |
<SCRIPT EVENT="RemoveItem(ItemIndex)" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function RemoveItem(ItemIndex) End Function </SCRIPT> Procedure OnComRemoveItem Integer llItemIndex Forward Send OnComRemoveItem llItemIndex End_Procedure METHOD OCX_RemoveItem(ItemIndex) CLASS MainDialog RETURN NIL void onEvent_RemoveItem(int _ItemIndex) { } function RemoveItem as v (ItemIndex as N) end function function nativeObject_RemoveItem(ItemIndex) return |