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.

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)