hmCal_GET OBJECT RECT
hmCal_GET OBJECT RECT(area;type1;type2;type3;left;top;right;bottom)
Parameter Type Description
area Longint -> hmCal area
type1 Longint -> type 1
type2 Longint -> type 2
type3 Longint -> type 3
left Longint <- left coordinate
top Longint <- top coordinate
right Longint <- right coordinate
bottom Longint <- bottom coordinate
The command hmCal_GET OBJECT RECT returns the coordinates of a specific area of the hmCal area in the current window. The values returned by the command are pixel coordinates. Following types are available:
type2 and type3 are 0:
type2 and type3 are 0:
type2 and type3 are 0:
type2 and type3 are 0:
type2 and type3 are 0:
type2 and type3 are 0:
type2 and type3 are 0:
type2 and type3 are 0:
type2 is the appointment reference and Typ3 is 0:
The following example returns the coordinates of the inner calendar area:
C_LONGINT($vl_left;$vl_top;$vl_right;$vl_bottom)
$vl_left:=0
$vl_top:=0
$vl_right:=0
$vl_bottom:=0
hmCal_GET OBJECT RECT (hmCal;1;0;0;$vl_left;$vl_top;$vl_right;$vl_bottom)