hmCal_Get Event State

hmCal_Get Event State(area;event) -> state

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

Description

The command hmCal_Get Event State returns if an event is activated or deactivated.

Example

The following example returns if the event hmCal_UpdateAppointments is activated:

C_BOOLEAN($vf_active)

$vf_active=hmCal_Get Event State(hmCal;hmCal_UpdateAppointments)=1