Navigation bar
  Print document Start Previous page
 64 of 65 
Next page End  

Gravitybox WebSchedule.NET
1998-2005 Gravitybox Software LLC
Page 62 of 65
How do I override the displayed header (column or row) text?
There are three events that are displayed before header are drawn:
BeforeRoomHeaderDraw, BeforeProviderHeaderDraw, and BeforeDateHeaderDraw.
These events allow you to change the text drawn in the header if desired. The change
will not change the text permanently. It will only be changed on the screen and not in
the header object.
How do I override the displayed appointment text?
The event “BeforeAppointmentTextDraw” is raised just before each appointment’s
subject text is drawn. You may change the displayed text from this event is necessary.
Overriding the text will not change the appointment object Subject property. It will only
change the text drawn on the screen. The change has no persistence.
How do I get notification of the user clicking an appointment’s header icon?
The event “AppointmentHeaderInfoClick” is raised when the user clicks in the header
icon of an appointment. For this event to happen an appointment must have a header
and it must have a header icon. The following code snippet adds an appointment and
creates a header and icon for it. You may wish to use a header icon to inform the user
of some information. If you wish to perform any action on its click use this event.
Dim appointment As Appointment
appointment.Header.HeaderType = _
    AppointmentHeader.HeaderTypeConstants.DateHeader
appointment.Header.Icon = Schedule1.DefaultIcons.IconInfo
How do I toggle the schedule time format between the 12 and 24-hour clock?
Different countries have different clock formats. The schedule will display time in both
the 12-hour or 24-hour clock formats. Use the “ClockSetting” property to change the
time format.
Schedule1.ClockSetting = _
    Gravitybox.Controls.Schedule.ClockSettingConstants.Clock12
How do I resize column and row header in code?
The user may resize the column and row header in code by using the two objects:
ColumnHeader and RowHeader. Each has a size property that is measured in pixels.
Set the size of each using this property.
Schedule1.RowHeader.Size = 30
Schedule1.ColumnHeader.Size = 80
How do I make the columns (or rows) resize automatically?
http://www.purepage.com