Type | Description | |||
Ev as Event | An Event object being updated. |
The AllowMoveEvent property specifies the keys combination to let user moves the events at runtime. The AllowResizeEvent property specifies the keys combination to let user resizes the events at runtime. The AllowMoveEventToOtherGroup property specifies the keys combination so the user can move events from a group to another.
You can use the UpdateEventsLabel property to specify the label to be shown when the events are moved or resized at runtime. You can use the Background(exScheduleUpdateEventsBackColor) and Background(exScheduleUpdateEventsForeColor) properties to specify the visual appearance of the events being updated at runtime * moving or resizing ).
In case you want to ensure that the user updates an event at runtime, you need to use the LayoutStartChanging and LayoutEndChanging events. The LayoutStartChanging(exScheduleMoveEvent) event occurs once the user starts moving an event by dragging the event to a new position. The LayoutEndChanging(exScheduleMoveEvent) event occurs once the user moved the event by dragging the event to a new position. The LayoutStartChanging(exScheduleResizeStartEvent) event occurs once the user starts resizing the starting point of the event by dragging. The LayoutEndChanging(exScheduleResizeStartEvent) event occurs once the user resized the starting point of the event by dragging. The LayoutStartChanging(exScheduleResizeEndEvent) event occurs once the user starts resizing the ending margin of the event by dragging. The LayoutEndChanging(exScheduleResizeEndEvent) event occurs once the user resized the ending margin of the event by dragging.
The order of the events when the user moves the event using the UI is:
The order of the events when the user resizes the event using the UI is:
private void UpdateEvent(object sender,exontrol.EXSCHEDULELib.Event Ev) { } Private Sub UpdateEvent(ByVal sender As System.Object,ByVal Ev As exontrol.EXSCHEDULELib.Event) Handles UpdateEvent End Sub |
private void UpdateEvent(object sender, AxEXSCHEDULELib._IScheduleEvents_UpdateEventEvent e) { } void OnUpdateEvent(LPDISPATCH Ev) { } void __fastcall UpdateEvent(TObject *Sender,Exschedulelib_tlb::IEvent *Ev) { } procedure UpdateEvent(ASender: TObject; Ev : IEvent); begin end; procedure UpdateEvent(sender: System.Object; e: AxEXSCHEDULELib._IScheduleEvents_UpdateEventEvent); begin end; begin event UpdateEvent(oleobject Ev) end event UpdateEvent Private Sub UpdateEvent(ByVal sender As System.Object, ByVal e As AxEXSCHEDULELib._IScheduleEvents_UpdateEventEvent) Handles UpdateEvent End Sub Private Sub UpdateEvent(ByVal Ev As EXSCHEDULELibCtl.IEvent) End Sub Private Sub UpdateEvent(ByVal Ev As Object) End Sub LPARAMETERS Ev PROCEDURE OnUpdateEvent(oSchedule,Ev) RETURN |
<SCRIPT EVENT="UpdateEvent(Ev)" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function UpdateEvent(Ev) End Function </SCRIPT> Procedure OnComUpdateEvent Variant llEv Forward Send OnComUpdateEvent llEv End_Procedure METHOD OCX_UpdateEvent(Ev) CLASS MainDialog RETURN NIL void onEvent_UpdateEvent(COM _Ev) { } function UpdateEvent as v (Ev as OLE::Exontrol.Schedule.1::IEvent) end function function nativeObject_UpdateEvent(Ev) return |