Print Page | Close Window

Hide Allday Event Section

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=8876
Printed Date: 07 October 2024 at 1:24pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Hide Allday Event Section
Posted By: Bruceb
Subject: Hide Allday Event Section
Date Posted: 23 November 2007 at 11:19am
Hi,
 
Is it possible to hide the calendar allday event section.
Or disable this function.
 
Thanks.


-------------
--
- Bruce



Replies:
Posted By: Rafael
Date Posted: 26 November 2007 at 2:47pm
I dont know of a way to hide the section, yet, but if you perform a HitTest on however you are creating the event and compare the HitCode to (xtpCalendarHitTestGroupArea + xtpCalendarHitTestDayViewAllDayEvent) while in day view or work week view, you can prevent an event being created.
 
When in week view or month view, creating an event is default to an AllDay event unless you override how an event is made.  These views do display less than 24 hour events though.


Posted By: Rafael
Date Posted: 26 November 2007 at 2:48pm


Posted By: Bruceb
Date Posted: 26 November 2007 at 2:58pm

Thanks Rafael for your reply,

I found a way to disallow moving an event to allday section by changing the AllDay, StartTime and EndTime properties of DraggingEventNew in the BeforeEditOperation event.

But AllDay calendar section has no utility in my application and it take lot of unused display space. It's seems, there is no way to hide this section.


-------------
--
- Bruce


Posted By: Rafael
Date Posted: 26 November 2007 at 3:11pm
I looked around for a second, but maybe there is a height property that can be set. There isn't one at design time, but maybe somewhere on the control during run time.
 
Let me know if you find one, i'll keep looking.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net