Navigation bar
  Home Print document Start Previous page
 73 of 234 
Next page End  

Gravitybox Schedule Primer
Page 71 
1998-2004 Gravitybox Software LLC
Figure 6.6
Appointments may be dragged from a schedule in any view
and dropped on any another schedule of any view. For the
most part, there are no surprised or anomalies. There are
caveats to keep in mind. If an appointment is created in
“Month” or “List” mode it has no Room property. More precisely its room property is set
to 0. If the ViewMode is toggled to “Normal” mode and the DayRoomMode is set to
“RoomOnly” or “Both” mode then the appointments previously created will not be
displayed. This is because those appointments have their Room property set to 0 and
this room never exists. So when the schedule is attempting to display appointments it
does not find any valid room for these and thus does not draw them. This applies to
appointments with any invalid Room value. If an appointment is created in “Both” mode
with dates and rooms displayed then the appointment will have a valid Room value. If
the schedule is toggled to “Month” mode this value is retained even though there are no
Rooms in “Month” mode. It an appointment is moved or copied its Room value stays in
tact. If the schedule is toggle back to “Normal” mode then it will still be displayed in the
same Room as it was originally created.
WeekNumbers
In many countries user will demand to view the week
numbers on their schedule or calendar. For instance, in
Europe many people are accustomed to specifying days
with the week number like so: “Tuesday of the 23 week in 2003”. To make your
application more suited to these users you may wish to include this functionality on your
schedule. Using the AllowWeekMargin and WeekMarginCaption properties, you may
customize the look of the schedule. The AllowWeekMargin property will turn on week
numbering so that the actual number is visible. The WeekMarginCaption property allows
you to ad a small description of what the number is. In calendar mode there is very little
room so the description might be simply “w” to indicate week. However in another
Quick Tip
Be careful of information that is lost
or created when dragging
appointments between schedules
with differing ViewModes.
Quick Tip
European and Asian applications
may wish to display the week number
in Month mode.
http://www.purepage.com