hmCal_SET EVENT STATE

hmCal_SET EVENT STATE(area;event;state)

Parameter          Type             Description
area               Longint      ->  hmCal area
event              Longint      ->  event number
state              Longint      ->  1=activated, 0=deactivated

Description

With the command hmCal_SET EVENT STATE you can activate and deactivate events. Deactivated events no longer call the callback method but will be internally executed.

All events are activated by default. That means, that the callback method is called with every event.

But because of performance issues there are some events which are not activated by default. These are the events:


Example

The following example deactivates the event hmCal_UpdateAppointments and will no longer call the callback method:

hmCal_SET EVENT STATE(hmCal;hmCal_UpdateAppointments;0)