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

Gravitybox Schedule Primer
Page 17 
1998-2004 Gravitybox Software LLC
Private Sub Schedule1_ScheduleItemStart(ByVal Index As Long)
Dim sText As String
  
  sText = "The following appointment has started!" & vbCrLf
  sText = sText & Schedule1.ScheduleItems(Index).Subject
  Call MsgBox(sText, vbInformation)
End Sub
You may also receive notification some time before an appointment occurs. Each
appointment has an “AlarmReminder” property. This is a non-negative number that
represents the number of minutes ahead of an appointment starting time to notify the
container. If this property value is non-zero, the ScheduleItemReminder event is raised
this many minutes before the actual appointment start. This is most useful when
building appointment reminders that prompts the user about an impending appointment.
Also notice that each appointment object has its own FontBold, FontItalics,
FontStrikethru, and FontUnderline property. This allows you to control the look of each
individual appointment. Use this in conjunction with the backcolor and forecolor
properties to bring attention to any appointment. You may also use this to define
appointment groups. Perhaps you have need to display multiple sets of appointments
together on the same schedule but want to the user to be able to easily distinguish
between them. You could give each group a unique set of colors and fonts.
The Blackout property permits appointments to be displayed that are in no way editable
by the user. Also, the user may not view the contents of a blacked-out appointment
either. This property is useful when an area needs to be shown as filled but the user has
no access to the appointment. An example of this is a doctor office that has many
doctors, each with his own secretary. In a networked system, one secretary can see
that a particular room is filled at a particular time, but she has no access to view or
modify the other doctor’s appointment. When the BlackOut flag of an appointment is set,
it will be a solid color, determined by the BlackOutColor property of the schedule. Its text
will not be shown. It is effectively blacked out.
http://www.purepage.com