![]() ![]() ![]() ![]() ![]() Gravitybox Schedule Primer
Page 114
1998-2004 Gravitybox Software LLC
Figure 12.2
Rooms Collection
The Rooms collection was designed to display rooms that might be scheduled in a
office. This functionality may be expanded to include other functionality. The Rooms
collection defines objects that may be displayed by themselves or that may be displayed
under each date. This actually may be used to display anything. Perhaps Trucks need
to be scheduled. The trucks may be defined, in the Rooms collection.
Schedule1.Rooms.DisplayName = Trucks
Call Schedule1.Rooms.Add(Truck1)
..
Call Schedule1.Rooms.Add(TruckN)
Now the caption on the schedule will be Trucks, not rooms. Each Room object has a
caption of Track_i.
This analogy may by used to expand the collection to represent anything that the
developer desires. The word Rooms is not displayed anywhere on the schedule,
unless the developer wishes it to be. The Rooms collections DisplayName property will
allow the name of the collection to be set to anything.
|