Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Calendar Enable Disable (Read 1302 times)
madrider
YaBB Newbies
*
Offline



Posts: 15
Joined: Jul 30th, 2007
Calendar Enable Disable
Jan 23rd, 2008 at 4:13pm
Print Post  
Is there a way to set CalendarControl.Enable = False but to enable the VScrollBar? I want to disbale the diable the control for past days but allow  v scrolling for viewing.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Calendar Enable Disable
Reply #1 - Jan 24th, 2008 at 5:46am
Print Post  
You can temporarily lock all items by settings their Locked property to false. Alternatively you can handle the ItemModifying events and prevent the items from being modified under certain conditions (such as items being in the past).

This way the control will remain enabled (thus scrollable) but the user won't be able to move items around.

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