Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic TimeTable view (Read 3314 times)
Jeffry
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 26
Joined: Feb 9th, 2007
TimeTable view
Feb 13th, 2007 at 12:27pm
Print Post  
Hi,

In the TimeTable view you can scroll from the StartTime to the EndTime. However, I want the initial display to have the start of the working day visible. So starttime is 00:00 and start working day is 08:00. Can I automatically scroll to 08:00? Or do I need to use external navigation buttons for this (just like with the example you gave to scroll through the weekview).

Thanks,
Jeffry
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: TimeTable view
Reply #1 - Feb 13th, 2007 at 12:39pm
Print Post  
Try settings the Calendar.ScrollPosition directly. For example, if you are using 1 hour per cell (which is the default), you have to specify 8 as the Y value of the scroll position. Similar to the following:

Code
Select All
calendar.ScrollPosition = new Point(calendar.ScrollPosition.X, 8); 



Meppy
  
Back to top
 
IP Logged
 
Jeffry
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 26
Joined: Feb 9th, 2007
Re: TimeTable view
Reply #2 - Feb 13th, 2007 at 4:48pm
Print Post  
Excellent! I have to take a closer look at the API before I ask questions  Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint