hmCal_Add Icon File
hmCal_Add Icon File(area;reference;path) -> error code
Parameter Type Description
area Longint -> hmCal area
reference Longint -> Icon-ID
path Text -> Iconpfad
error Longint <- error code
With the command hmCal_Add Icon File you can create a new icon. Pass your unique reference in the parameter reference, so you can identify the icon.
You can set the icon for appointments with the command hmCal_Set App Property.
Set a valid path to the picture in the parameter path. hmCal supports the following picture types:
The following example creates a new icon in memory:
C_LONGINT($vl_error)
$vl_error:=hmCal_Add Icon File(hmCal;1;"C:\\icon.jpg")