Type | Description | |||
NewComponent as Component | A Component object being created and added to the Components collection. |
The order of the events for Load, LoadFile methods is:
The following is a simple example of an iCalendar component:
Syntax for AddComponent event, /NET version, on:BEGIN:VEVENT
UID:19970610T172345Z-AF23B2@example.com
DTSTAMP:19970610T172345Z
DTSTART:19970714T170000Z
DTEND:19970715T040000Z
SUMMARY:Bastille Day Party
END:VEVENT
private void AddComponent(object sender,exontrol.EXICALENDARLib.Component NewComponent) { } Private Sub AddComponent(ByVal sender As System.Object,ByVal NewComponent As exontrol.EXICALENDARLib.Component) Handles AddComponent End Sub |
private void AddComponent(object sender, AxEXICALENDARLib._IICalendarEvents_AddComponentEvent e) { } void OnAddComponent(LPDISPATCH NewComponent) { } void __fastcall AddComponent(TObject *Sender,Exicalendarlib_tlb::IComponent *NewComponent) { } procedure AddComponent(ASender: TObject; NewComponent : IComponent); begin end; procedure AddComponent(sender: System.Object; e: AxEXICALENDARLib._IICalendarEvents_AddComponentEvent); begin end; begin event AddComponent(oleobject NewComponent) end event AddComponent Private Sub AddComponent(ByVal sender As System.Object, ByVal e As AxEXICALENDARLib._IICalendarEvents_AddComponentEvent) Handles AddComponent End Sub Private Sub AddComponent(ByVal NewComponent As EXICALENDARLibCtl.IComponent) End Sub Private Sub AddComponent(ByVal NewComponent As Object) End Sub LPARAMETERS NewComponent PROCEDURE OnAddComponent(oICalendar,NewComponent) RETURN |
<SCRIPT EVENT="AddComponent(NewComponent)" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function AddComponent(NewComponent) End Function </SCRIPT> Procedure OnComAddComponent Variant llNewComponent Forward Send OnComAddComponent llNewComponent End_Procedure METHOD OCX_AddComponent(NewComponent) CLASS MainDialog RETURN NIL void onEvent_AddComponent(COM _NewComponent) { } function AddComponent as v (NewComponent as OLE::Exontrol.ICalendar.1::IComponent) end function function nativeObject_AddComponent(NewComponent) return |