hmCal_Set Stylesheet

hmCal_Set Stylesheet(area;reference;fontname;fontsize,fontstyle) -> error

Parameter          Type             Description
area               Longint      ->  hmCal area
reference          Longint      ->  stylesheet reference
fontname           Text         ->  fontname
fontsize           Longint      ->  fontsize
fontstyle          Longint      ->  fontstyle
error              Longint      <-  error-code


With the command hmCal_Set Stylesheet you can overwrite a stylesheet. So you can set new properties to the stylesheet. For more information see chapter hmCal_Add Stylesheet.


The following example updates an existing stylesheet:


$vl_error:=hmCal_Set Stylesheet(hmCal;1;"Courier New";10;Plain)