hmCal_GET COLOR
hmCal_GET COLOR(area;type1;type2;red;green;blue)
Parameter Type Description
area Longint -> hmCal area
type1 Longint -> object type
type2 Longint -> reference or 0
red Longint -> red color component
green Longint -> green color component
blue Longint -> blue color component
The command hmCal_GET COLOR returns the color of an object. You have to set the color with the command hmCal_SET COLOR.
The following example returns the color of an appointment with the ID 12:
C_LONGINT($vl_red;$vl_green;$vl_blue)
$vl_red:=0
$vl_green:=0
$vl_blue:=0
hmCal_GET COLOR(hmCal;13;12;$vl_red;$vl_green;$vl_blue)