hmCal_GET APPOINTMENT FORECOLOR
hmCal_GET APPOINTMENT FORECOLOR(area;reference;red;green;blue)
Parameter Type Description
area Longint -> hmCal area
reference Longint -> appointment-id
red Longint <- red color
green Longint <- green color
blue Longint <- blue color
Notice: This command is obsolete in version 2.0. Please use
hmCal_GET COLOR!
The command hmCal_GET APPOINTMENT FORECOLOR returns all three color components of the foreground color of the appointment.
The following example returns the foreground color of the appointment:
C_LONGINT($vl_red;$vl_green;$vl_blue)
$vl_red:=0
$vl_green:=0
$vl_blue:=0
hmCal_GET APPOINTMENT FORECOLOR(hmCal;1;$vl_red;$vl_green;$vl_blue)