Navigation bar
  Print document Start Previous page
 19 of 90 
Next page End  

the specified time value if possible. If the specified time value iss not a valid value, no scrolling occurs. An example of an invalid time would be as follows. The schedule's StartTime is set to 8:00AM and the DayLength is set to 10 hour. This means that the schedule only displays to 6:00PM. If you tried to
Gravitybox Schedule.NET
1998-2005 Gravitybox Software LLC
Page 17 of 90
are displayed on top, then the returned value will
be the column, otherwise the row.
GetRowColFromTime  
Given a time, this method will return the row or
column that displays the specified time. If the times
are displayed on top, then the returned value will
be the column, otherwise the row.
GetRowFromCor  
Given a set of coordinates this method will return
the row index under that spot. If no row exists at
the specified location, the returned value is –1.
GetTimeFromCor  
Given a set of coordinates this method will return
the time value under that spot. If no time exists at
the specified location, the returned value is not
valid.
GetTimeFromRowCol  
Given a row or column value, this method returns
the time value at that location. This only applies to
viewmodes that show times. Also the value, row or
column, depends on the viewmode as well. If the
times are displayed on top, then the specified value
should be the column.
ShowAppointment  
Given an appointment, this method will scroll the
schedule's viewing area to ensure that the
appointment is visible. If the appointment is not
displayed in the current viewmode, then no
scrolling occurs. An example of this would be as
follows. The viewmode is showing rooms and times
and the specified appointment has no associated
Room object. It is not displayed on the schedule at
all and as such cannot cause a scroll.
ShowDate  
This method will scroll the viewing area to include
the specified date if possible. If the specified date is
not a valid value, no scrolling occurs. An example
of an invalid date would be as follows. The
schedule's MinDate and MaxDate are set to Jan 1,
2004 and Jan 10, 2004 respectively. If you tried to
display Jan 20, 2004, the schedule cannot possibly
show this date, since it is out of range.
ShowProvider  
This method will scroll the viewing area to include
the specified provider. If the current viewmode
does not support providers, this method will not
cause any scrolling to occur.
ShowRoom  
This method will scroll the viewing area to include
the specified room. If the current viewmode does
not support rooms, this method will not cause any
scrolling to occur.
ShowTime  
This method will scroll the viewing area to include
http://www.purepage.com