![]() ![]() ![]() ![]() ![]() Gravitybox Schedule Primer
Page 18
1998-2004 Gravitybox Software LLC
Figure 1.1
In Figure 1.1, there are three, one-hour appointments. The first and third are visible and
editable. The second has its BlackOut property set to true. The text of the appointment
is set to Appt2, but this cannot be seen. The user cannot modify anything about the
second appointment, nor can he even see the appointments text.
The ReadOnly property also performs this behavior, though in a different fashion. The
ReadOnly property makes the appointment non-editable, but still displays the
appointments information. This property is useful to display read-only versions of a
schedule, while still allowing on one person to lock the schedule.
The MinLength and MaxLength properties complement each other. The default value for
each of these is 1. This indicates that there are no restrictions imposed on the
appointments length. In some applications, it may be necessary to limit the
appointments length; minimum, maximum, or both. These two properties can be set
independently and they influence each other in only one respect. The MaxLength must
be greater than or equal to the MinLength (if MinLength is not -1) and the MinLength
must be less than or equal to the MaxLength (if MaxLength is not -1). If either property
is 1, it the value of the other property can be any positive integer.
An interesting new feature is the ability to display appointments that begin on one day
and extend over a day boundary into another day. This is currently only available when
the time is on left and day only is on top. The appointment is displayed in the event
header at the top of the screen. To be displayed the AllowEventHeader property must
be true. Also the schedule property AllowActivities must be true as well.
Rooms
In many circumstances, a date and time is enough to define a schedule for an
applications needs. However there are situations that require more than just a date and
time. For example, in a doctors office, there may be two patients scheduled for 10:00
AM on October 23. If a schedule is used that defines only with dates and times, there
|