![]() ![]() ![]() ![]() ![]() Gravitybox Schedule Primer
Page 34
1998-2004 Gravitybox Software LLC
Creating a GbSchedule form
To create a display that has a more common interface we need to set the following
properties.
StartTime = #8:00 AM#
DayLength = 10
MinDate = #1/1/2002#
MaxDate = #1/31/2002#
Figure 2.2
This will create a schedule that starts at 8 in the morning and displays times until 6 at
night. The start date is the first of January and it lasts for 31 days, the end of the month.
This will generate a schedule that starts at a normal time and lasts for the business day.
It will also display the entire month so that we can make appointments for the month in
its entirety.
Now that we have set the properties to some meaningful values, lets run the program.
In run-mode the user may click the mouse and create an appointment. To create an
appointment of a desired length, you must press the left mouse button and drag the
mouse the length of the desired appointment. When the mouse button is released the
appointment is created. The schedules standard properties box appears when adding
and editing by default. This may be turned off. This will be addressed later.
|