hmCal_Set Scroll Range

hmCal_Set Scroll Range(area;from;to) -> error

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

Description

The command hmCal_Set Scroll Range sets the scroll area in the day, user day and week view. The area can be scrolled by the user. The parameter from sets the start time. The parameter to sets the end time. Please note, that the parameters have no conflict with the commands hmCal_SET VISIBLE HOURS and hmCal_SET START TIME), else you get an error.

The default values are 0 and 86400. You can get the current values with the command hmCal_GET SCROLL RANGE.

Example

The following example sets the scrollable area to 7:00 AM to 11:00 PM:

C_LONGINT($vl_error)

$vl_error=hmCal_Set Scroll Range (calArea;?07:00:00?+0;?23:00:00?+0)