Type | Description | |||
Element as Element | An Element object being added to the Elements collection. |
The order of the events when the user creates the element at runtime is:
The AddElement event may be called during the LoadXML method.
Syntax for AddElement event, /NET version, on:
private void AddElement(object sender,exontrol.EXSURFACELib.Element Element) { } Private Sub AddElement(ByVal sender As System.Object,ByVal Element As exontrol.EXSURFACELib.Element) Handles AddElement End Sub |
private void AddElement(object sender, AxEXSURFACELib._ISurfaceEvents_AddElementEvent e) { } void OnAddElement(LPDISPATCH Element) { } void __fastcall AddElement(TObject *Sender,Exsurfacelib_tlb::IElement *Element) { } procedure AddElement(ASender: TObject; Element : IElement); begin end; procedure AddElement(sender: System.Object; e: AxEXSURFACELib._ISurfaceEvents_AddElementEvent); begin end; begin event AddElement(oleobject Element) end event AddElement Private Sub AddElement(ByVal sender As System.Object, ByVal e As AxEXSURFACELib._ISurfaceEvents_AddElementEvent) Handles AddElement End Sub Private Sub AddElement(ByVal Element As EXSURFACELibCtl.IElement) End Sub Private Sub AddElement(ByVal Element As Object) End Sub LPARAMETERS Element PROCEDURE OnAddElement(oSurface,Element) RETURN |
<SCRIPT EVENT="AddElement(Element)" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function AddElement(Element) End Function </SCRIPT> Procedure OnComAddElement Variant llElement Forward Send OnComAddElement llElement End_Procedure METHOD OCX_AddElement(Element) CLASS MainDialog RETURN NIL void onEvent_AddElement(COM _Element) { } function AddElement as v (Element as OLE::Exontrol.Surface.1::IElement) end function function nativeObject_AddElement(Element) return |