Schedule Control

Purpose:

Returns the handle of a new Schedule control

Syntax:

sch = schedule(title,x,y,width,height)

sch.methodname

where methodname is one of the following

useshed
startdate
enddate
dayOfWeek
 

 

Comments:

The schedule control allows to set start and end dates for when another control should be running.

The enable checkbox in bottom right corner must be checked for the schedule control to have effect.

Example:

sch = schedule("clockalarm",cam.xoff,cam.yoff,cam.width,cam.height)
sch.visible = 0
cam.schedule = sch // use the schedule for time periods to run