![]() ![]() ![]() ![]() ![]() Gravitybox Schedule Primer
Page 33
1998-2004 Gravitybox Software LLC
Chapter 2
Creating your first Scheduling Application
So now that you are familiar with the object model we can begin to construct our first
scheduling application. It is easy to create a program that actually has schedule
functionality with no code! If there is no underlying code, you will not be able to load or
save schedules. However I state this merely to display the ease of use. We begin by
opening Visual Basic and creating and new project. Next we need to add the software
component to the project. On the Project menu choose Components
. This will
display the add component screen. Use this to add the Gravitybox Schedule
component.
Figure 2.1
Figure 2.1 shows the Component screen with the schedule added. Press the OK
button and we are ready to start scheduling. When the schedule is added to a form it is
displayed with times on the left opposing days and rooms on the top. This is a very
common configuration of a schedule. At design-time there are two rooms for each day
to display the day-room configuration functionality. As described in Chapter 1 there
many different modes in which the schedule may be displayed. If your application does
not require rooms (or objects), this feature may be removed by changing the schedules
Viewmode property to one of the day only settings. This will display only dates and no
rooms. Just to keep things simple in our first program, we are going to turn off the Room
interface.
|