hmCal_GET OBJECT RECT
hmCal_GET OBJECT RECT(area;type1;type2;type3;left;top;right;bottom)
Parameter Type Description
area C_LONGINT -> hmCal area
type1 C_LONGINT -> type 1
type2 C_LONGINT -> type 2
type3 C_LONGINT -> type 3
left C_REAL <- left coordinate
top C_REAL <- top coordinate
right C_REAL <- right coordinate
bottom C_REAL <- 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 type3 is 0:

type2 is the column ID, type3 is 0:

type2 is the column ID, type3 is the user ID (user multi day view) or the appointment ID (project view):

The following example returns the coordinates of the inner calendar area:
C_REAL($vz_left;$vz_top;$vz_right;$vz_bottom)
$vz_left:=0
$vz_top:=0
$vz_right:=0
$vz_bottom:=0
hmCal_GET OBJECT RECT (hmCal;1;0;0;$vz_left;$vz_top;$vz_right;$vz_bottom)