![]() ![]() ![]() ![]() ![]() Gravitybox Schedule Primer
Page 120
1998-2004 Gravitybox Software LLC
set to some text. When the control is used to display properties for a group of recurrent
appointments, you may use the IconRecurrence icon to customize the dialogs look. The
control is made language independent by exposing its text properties to the developer.
The rooms and category text properties is pulled from their respective collections.
However texts like the word Priority can be made to display any text using the
PriorityText property.
ScheduleSummary Control
The ScheduleSummary control allows you to build a
coordination screen to complement appointment addition.
There are times when a user will need to view current
appointment information before making additional appointments. An example is creating
an appointment in which many people are present. The Schedule control has a
Providers collection in which people of an organization may be added. Each
appointment has a Provider property that may associate the specified appointment to
one of the Providers in the defined Providers collection. If you wish to create an
appointment and associate it with only one provider, you may look at the left margin of
the schedule to find a time that specified provider is available. However if you wish to
coordinate with two or more providers, it may be cumbersome to search for a free time
by manually searching each providers time scale. An easier and more intuitive
technique is to display all providers in the left margin and time on the top with non-
available times filled with a colored bar to indicate that the specified time is not
accessible.
Figure 13.3
In Figure 13.3, a ScheduleSummary control is shown with three people added to the
providers collection: John, Sally, and Sue. Each appointment that is as assigned to a
provider is displayed on the row that starts with the providers name. If appointments
conflict there is no difference is display. The areas that have assigned appointments are
colored. A colored area may have one or more appointments assigned to it, you cannot
know by viewing this control. All that is obvious is that is at least one appointment
covering the defined area. The color of the bars may be all the same defined by the
DefaultBarColor property when UseDefaultBarColor is set to true. If the
UseDefaultBarColor property is false, the color defined for the associated Provider
object is used to paint its colored bars. The icon to the left of each provider is
configurable with the ResourceIcon property. There is no way to set an individual icon
Quick Tip
View all appointments by provider at
a glance using the
ScheduleSummary control.
|