event UpdateEvent (Ev as Event)
Notifies your application once the event changes the starting or ending margins.

TypeDescription
Ev as Event An Event object being updated.
The UpdateEvent event occurs once the event's margins are updated. The Start and End properties of the Event indicates the margins of the event. The UpdateEvent event may occur if the user moves or resizes the event. The UpdateEvent event occurs right after adding a new event (AddEvent). Removing an event does not fire the UpdateEvent event. The Movable property of the Event indicates whether the user can move the event at runtime. The Resizable property of the Event indicates whether the user can resize the event at runtime ( start, end or both ). You can use the UpdateEvent to update a dirty flag that indicates that the control's content must be saved.

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:

Syntax for UpdateEvent event, /NET version, on:

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

Syntax for UpdateEvent event, /COM version, on:

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

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

<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