hmCal_Add Icon
hmCal_Add Icon(area;reference;picture) -> error code
Parameter Type Description
area Longint -> hmCal area
reference Longint -> Icon-ID
picture Picture -> Picture variable
error Longint <- error code
With the command hmCal_Add Icon 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.
Put a picture variable into the parameter picture. hmCal supports the following picture types:
The following example creates a new icon in memory:
C_LONGINT($vl_error)
C_PICTURE($vb_myicon)
$vl_error:=hmCal_Add Icon(hmCal;1;$vb_myicon)