hmCal_GET SCROLL RANGE

hmCal_GET SCROLL RANGE(area;from;to)

Parameter          Type             Description
area               Longint      ->  hmCal area
from               Longint      <-  from time
to                 Longint      <-  to time

Description

The command hmCal_GET SCROLL RANGE returns the scroll area of the day, user day and week view. The area can be scrolled by the user. The parameter from returns the start time. The parameter to returns the end time.

The default values are 0 and 86400. You can set the values with the command hmCal_Set Scroll Range.

Example

The following example returns the current scrollable area:

C_LONGINT($vl_from;$vl_to)

$vl_from:=0
$vl_to:=0
hmCal_GET SCROLL RANGE (calArea;$vl_from;$vl_to)