Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Read Only (Read 2370 times)
CodingJeff
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 15
Joined: Apr 22nd, 2007
Read Only
May 7th, 2007 at 12:14am
Print Post  
I'm using this to display appointments only, is there a way to make the calendar (timetable view) read only, with only scrolling enabled?
Thanks
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Read Only
Reply #1 - May 7th, 2007 at 5:01am
Print Post  
You can set Calendar.Enabled to false to disable all interaction with the control (including scrollbars). Alternatively, you can hide individual scrollbars by setting either Calendar.HScrollerVisible or Calendar.VScrollerVisible to State.Disabled.

Meppy
  
Back to top
 
IP Logged
 
CodingJeff
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 15
Joined: Apr 22nd, 2007
Re: Read Only
Reply #2 - May 7th, 2007 at 10:33am
Print Post  
I'd like to remove the ability to drag the appointments to other dates or times but would like to be able to capture a doubleclick on an appointment. Is that possible?
Thanks
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Read Only
Reply #3 - May 7th, 2007 at 11:05am
Print Post  
You can set the AllowChangeStart, AllowChangeEnd and AllowMove properties of all items to false to prevent them from being modified interactively. Alternatively, you may handle the ItemModifying event and reject any item operation by settings Confirm to false.

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