Hide Allday Event Section |
Post Reply |
Author | |
Bruceb
Newbie Joined: 20 October 2006 Location: Canada Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 23 November 2007 at 11:19am |
Hi,
Is it possible to hide the calendar allday event section.
Or disable this function.
Thanks.
|
|
--
- Bruce |
|
Rafael
Newbie Joined: 26 November 2007 Location: United States Status: Offline Points: 28 |
Post Options
Thanks(0)
|
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.
|
|
Rafael
Newbie Joined: 26 November 2007 Location: United States Status: Offline Points: 28 |
Post Options
Thanks(0)
|
|
|
Bruceb
Newbie Joined: 20 October 2006 Location: Canada Status: Offline Points: 4 |
Post Options
Thanks(0)
|
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 |
|
Rafael
Newbie Joined: 26 November 2007 Location: United States Status: Offline Points: 28 |
Post Options
Thanks(0)
|
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.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |