event RemoveGroup (Group as Group)
Fired when a group was removed.

TypeDescription
Group as Group A Group object being removed.

Use the RemoveGroup event to notify your application that a group is removed. Use the RemoveGroup event to release any extra data stored by the group. Use the Remove method to remove a group. Use the RemoveItem event to notify your application that an item is deleted. Use the UserData property to associate an extra data to a group.

Syntax for RemoveGroup event, /NET version, on:

private void RemoveGroup(object sender,exontrol.EXPLORERBARLib.Group Group)
{
}

Private Sub RemoveGroup(ByVal sender As System.Object,ByVal Group As exontrol.EXPLORERBARLib.Group) Handles RemoveGroup
End Sub

Syntax for RemoveGroup event, /COM version, on:

private void RemoveGroup(object sender, AxEXPLORERBARLib._IExplorerBarEvents_RemoveGroupEvent e)
{
}

void OnRemoveGroup(LPDISPATCH Group)
{
}

void __fastcall RemoveGroup(TObject *Sender,Explorerbarlib_tlb::IGroup *Group)
{
}

procedure RemoveGroup(ASender: TObject; Group : IGroup);
begin
end;

procedure RemoveGroup(sender: System.Object; e: AxEXPLORERBARLib._IExplorerBarEvents_RemoveGroupEvent);
begin
end;

begin event RemoveGroup(oleobject Group)
end event RemoveGroup

Private Sub RemoveGroup(ByVal sender As System.Object, ByVal e As AxEXPLORERBARLib._IExplorerBarEvents_RemoveGroupEvent) Handles RemoveGroup
End Sub

Private Sub RemoveGroup(ByVal Group As EXPLORERBARLibCtl.IGroup)
End Sub

Private Sub RemoveGroup(ByVal Group As Object)
End Sub

LPARAMETERS Group

PROCEDURE OnRemoveGroup(oExplorerBar,Group)
RETURN

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

<SCRIPT EVENT="RemoveGroup(Group)" LANGUAGE="JScript">
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Function RemoveGroup(Group)
End Function
</SCRIPT>

Procedure OnComRemoveGroup Variant llGroup
	Forward Send OnComRemoveGroup llGroup
End_Procedure

METHOD OCX_RemoveGroup(Group) CLASS MainDialog
RETURN NIL

void onEvent_RemoveGroup(COM _Group)
{
}

function RemoveGroup as v (Group as OLE::Exontrol.ExplorerBar.1::IGroup)
end function

function nativeObject_RemoveGroup(Group)
return

The following VB sample displays the caption of the group being removed:

Private Sub ExplorerBar1_RemoveGroup(ByVal Group As EXPLORERBARLibCtl.IGroup)
    Debug.Print Group.Caption
End Sub

The following C++ sample displays the caption of the group being removed:

void OnRemoveGroupExplorerbar1(LPDISPATCH Group) 
{
	CGroup group( Group ); group.m_bAutoRelease = FALSE;
	CString strOutput;
	strOutput.Format("%s", (LPCTSTR)group.GetCaption() );
	OutputDebugString( strOutput );		
}

The following VB.NET sample displays the caption of the group being removed:

Private Sub AxExplorerBar1_RemoveGroup(ByVal sender As Object, ByVal e As AxEXPLORERBARLib._IExplorerBarEvents_RemoveGroupEvent) Handles AxExplorerBar1.RemoveGroup
    Debug.WriteLine(e.group.Caption)
End Sub

The following C# sample displays the caption of the group being removed:

private void axExplorerBar1_RemoveGroup(object sender, AxEXPLORERBARLib._IExplorerBarEvents_RemoveGroupEvent e)
{
	System.Diagnostics.Debug.WriteLine(e.group.Caption);
}

The following VFP sample displays the caption of the group being removed:

*** ActiveX Control Event ***
LPARAMETERS group

with group
	wait window nowait .Caption
endwith