hmCal_mini_Apply Stylesheet

hmCal_mini_Apply Stylesheet(area;reference;type;date) -> error

Parameter          Type             Description
area               Longint      ->  hmCal area
reference          Longint      ->  stylesheet-id
type               Longint      ->  type
date               Date         ->  date
error              Longint      <-  error-code



The command hmCal_mini_Apply Stylesheet sets an existing stylesheet for several objects. If you pass a 0 as the parameter reference, all objects are set to the standard font. There are the following objects, which can be set by a stylesheet:

hmCal_mini_stylesheet_day (1)

Pass the date in the parameter date to set a special stylesheet for that day. Pass an empty date for all days.


The following example creates a new stylesheet and sets the month header in the month view:


$vl_error:=hmCal_mini_Add Stylesheet (hmCal;1;"Arial";20;Bold)
$vl_error:=hmCal_mini_Apply Stylesheet (hmCal;1;4;0)