

| Type | Description | |||
| Group as Group | A Group object being selected. |
Use the SelectGroup event to notify your application that a group is selected. The control fires the SelectItem event when the user clicks an item. The control fires the BeforeExpandGroup event before expanding a group. The control fires the ExpandGroup event after expanding a group.
Syntax for SelectGroup event, /NET version, on:
private void SelectGroup(object sender,exontrol.EXPLORERBARLib.Group Group)
{
}
Private Sub SelectGroup(ByVal sender As System.Object,ByVal Group As exontrol.EXPLORERBARLib.Group) Handles SelectGroup End Sub |
private void SelectGroup(object sender, AxEXPLORERBARLib._IExplorerBarEvents_SelectGroupEvent e)
{
}
void OnSelectGroup(LPDISPATCH Group)
{
}
void __fastcall SelectGroup(TObject *Sender,Explorerbarlib_tlb::IGroup *Group)
{
}
procedure SelectGroup(ASender: TObject; Group : IGroup); begin end; procedure SelectGroup(sender: System.Object; e: AxEXPLORERBARLib._IExplorerBarEvents_SelectGroupEvent); begin end; begin event SelectGroup(oleobject Group) end event SelectGroup Private Sub SelectGroup(ByVal sender As System.Object, ByVal e As AxEXPLORERBARLib._IExplorerBarEvents_SelectGroupEvent) Handles SelectGroup End Sub Private Sub SelectGroup(ByVal Group As EXPLORERBARLibCtl.IGroup) End Sub Private Sub SelectGroup(ByVal Group As Object) End Sub LPARAMETERS Group PROCEDURE OnSelectGroup(oExplorerBar,Group) RETURN |
<SCRIPT EVENT="SelectGroup(Group)" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function SelectGroup(Group) End Function </SCRIPT> Procedure OnComSelectGroup Variant llGroup Forward Send OnComSelectGroup llGroup End_Procedure METHOD OCX_SelectGroup(Group) CLASS MainDialog RETURN NIL void onEvent_SelectGroup(COM _Group)
{
}
function SelectGroup as v (Group as OLE::Exontrol.ExplorerBar.1::IGroup) end function function nativeObject_SelectGroup(Group) return |
The following VB sample displays the caption of the group being selected:
Private Sub ExplorerBar1_SelectGroup(ByVal Group As EXPLORERBARLibCtl.IGroup)
Debug.Print Group.Caption
End SubThe following C++ sample displays the caption of the group being selected:
void OnSelectGroupExplorerbar1(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 selected:
Private Sub AxExplorerBar1_SelectGroup(ByVal sender As Object, ByVal e As AxEXPLORERBARLib._IExplorerBarEvents_SelectGroupEvent) Handles AxExplorerBar1.SelectGroup
With e.group
Debug.WriteLine(.Caption)
End With
End SubThe following C# sample displays the caption of the group being selected:
private void axExplorerBar1_SelectGroup(object sender, AxEXPLORERBARLib._IExplorerBarEvents_SelectGroupEvent e)
{
System.Diagnostics.Debug.WriteLine(e.group.Caption);
}The following VFP sample displays the caption of the group being selected:
*** ActiveX Control Event *** LPARAMETERS group with group wait window nowait .Caption endwith