Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Hiding the < > arrows (Read 2618 times)
alanmcgeough
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 34
Joined: Dec 17th, 2007
Hiding the < > arrows
Oct 20th, 2009 at 1:58pm
Print Post  
I have forgotton how to hide the < > arrows which move the date forward and back. i use the timetable settings in my planner.net application. when the user clicks on a location i show the full week (ie 7days of items) for that location. i dont want the user to be able to move forward or back on this form. can you tell me how to disable the directional arrows on the planner
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Hiding the < > arrows
Reply #1 - Oct 20th, 2009 at 3:10pm
Print Post  
If you are referring to the buttons displayed in the header, try setting Calendar.TimetableSettings.ShowNavigationButtons to Disabled.

Regards,
Meppy
  
Back to top
 
IP Logged
 
alanmcgeough
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 34
Joined: Dec 17th, 2007
Re: Hiding the < > arrows
Reply #2 - Oct 20th, 2009 at 3:49pm
Print Post  
thats great meppy thanks for that can i get a handle on when these buttons are clicked. currently it moves by one day can i increase this to 1 week for each click.

for example if i am show the full week for one location if the user clicks on > arrow it will move forward a full week and not just 1 day.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Hiding the < > arrows
Reply #3 - Oct 21st, 2009 at 6:10am
Print Post  
You can use the TimetableSettings.ScrollStep property to specify the number of days to scroll when the user clicks the navigation buttons. You can also handle the Calendar.VisibleDateChanged event, which is fired when the buttons are clicked and perform the necessary modifications in the event handler.

Regards,
Meppy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint