hmCal_ADD SPECIAL DAY

hmCal_ADD SPECIAL DAY(area;date;red;green;blue)

Parameter          Type             Description
area               Longint      ->  hmCal area
date               Date         ->  date
red                Longint      ->  red color
green              Longint      ->  green color
blue               Longint      ->  blue color

Description

The command hmCal_ADD SPECIAL DAY marks one day in the indicated color, defined by the color components red, green and blue. The standard-color will be used if you pass -1 in the parameters red, green and blue.

With this command, you can mark multiple days. Delete all marked days with the command hmCal_DELETE ALL SPECIAL DAYS.

Note: contrary to the command hmCal_HIGHLIGHT DAY you can mark several days at the same time.

Example

The following marks the current date in the calendar:

hmCal_ADD SPECIAL DAY(hmCal;Current Date;-1;-1;-1)