event UserEditorOleEvent (Object as Object, Ev as OleEvent, Ed as Editor)
Occurs when an user editor fires an event.

 TypeDescription 
   Object as Object An Object that fires the event.  
   Ev as OleEvent An OleEvent object that holds information about fired event.  
   Ed as Editor An Editor object whose inner ActiveX control fires the event.   
The UserEditorOleEvent event notifies your application when an inner ActiveX control fires an event.  The UserEditorType type specifies an editor that may host an ActiveX control. Use the Add method to insert an editor that hosts an ActiveX control. Use the UserEditor method to create an inner ActiveX control.

Syntax for UserEditorOleEvent event, /NET version, on:

private void UserEditorOleEvent(object sender,object Obj,exontrol.EXRECORDLib.OleEvent Ev,exontrol.EXRECORDLib.Editor Ed)
{
}

Private Sub UserEditorOleEvent(ByVal sender As System.Object,ByVal Obj As Object,ByVal Ev As exontrol.EXRECORDLib.OleEvent,ByVal Ed As exontrol.EXRECORDLib.Editor) Handles UserEditorOleEvent
End Sub

Syntax for UserEditorOleEvent event, /COM version, on:

private void UserEditorOleEvent(object sender, AxEXRECORDLib._IRecordEvents_UserEditorOleEventEvent e)
{
}

void OnUserEditorOleEvent(LPDISPATCH Object,LPDISPATCH Ev,LPDISPATCH Ed)
{
}

void __fastcall UserEditorOleEvent(TObject *Sender,IDispatch *Object,Exrecordlib_tlb::IOleEvent *Ev,Exrecordlib_tlb::IEditor *Ed)
{
}

procedure UserEditorOleEvent(ASender: TObject; Object : IDispatch;Ev : IOleEvent;Ed : IEditor);
begin
end;

procedure UserEditorOleEvent(sender: System.Object; e: AxEXRECORDLib._IRecordEvents_UserEditorOleEventEvent);
begin
end;

begin event UserEditorOleEvent(oleobject Object,oleobject Ev,oleobject Ed)
end event UserEditorOleEvent

Private Sub UserEditorOleEvent(ByVal sender As System.Object, ByVal e As AxEXRECORDLib._IRecordEvents_UserEditorOleEventEvent) Handles UserEditorOleEvent
End Sub

Private Sub UserEditorOleEvent(ByVal Object As Object,ByVal Ev As EXRECORDLibCtl.IOleEvent,ByVal Ed As EXRECORDLibCtl.IEditor)
End Sub

Private Sub UserEditorOleEvent(ByVal Object As Object,ByVal Ev As Object,ByVal Ed As Object)
End Sub

LPARAMETERS Object,Ev,Ed

PROCEDURE OnUserEditorOleEvent(oRecord,Object,Ev,Ed)
RETURN

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

<SCRIPT EVENT="UserEditorOleEvent(Object,Ev,Ed)" LANGUAGE="JScript">
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Function UserEditorOleEvent(Object,Ev,Ed)
End Function
</SCRIPT>

Procedure OnComUserEditorOleEvent Variant llObject Variant llEv Variant llEd
	Forward Send OnComUserEditorOleEvent llObject llEv llEd
End_Procedure

METHOD OCX_UserEditorOleEvent(Object,Ev,Ed) CLASS MainDialog
RETURN NIL

void onEvent_UserEditorOleEvent(COM _Object,COM _Ev,COM _Ed)
{
}

function UserEditorOleEvent as v (Object as P,Ev as OLE::Exontrol.Record.1::IOleEvent,Ed as OLE::Exontrol.Record.1::IEditor)
end function

function nativeObject_UserEditorOleEvent(Object,Ev,Ed)
return

The following VB sample adds an Exontrol.ComboBox control and displays the events being fired by inner ActiveX control:

The following VC sample adds an Exontrol.ComboBox control and displays the events being fired by inner ActiveX control:

In C++, the #import "path-to-ExRecord.dll" adds a new EXRECORDLib namespace that includes definition for OleEvent and OleEventParam classes.


Send comments on this topic.
1999-2015 Exontrol.COM, Software. All rights reserved.