Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Prevent user from leaving Month View
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Prevent user from leaving Month View

 Post Reply Post Reply
Author
Message
apuhjee View Drop Down
Senior Member
Senior Member
Avatar

Joined: 02 September 2005
Location: United States
Status: Offline
Points: 130
Post Options Post Options   Thanks (0) Thanks(0)   Quote apuhjee Quote  Post ReplyReply Direct Link To This Post Topic: Prevent user from leaving Month View
    Posted: 12 July 2007 at 2:53pm
After a day has filled with events, a little triangle appears.  If the user clicks this, they are shown the Day View.  How can this feature be disabled or modified?
 
Thanks ~ jp
 
Back to Top
apuhjee View Drop Down
Senior Member
Senior Member
Avatar

Joined: 02 September 2005
Location: United States
Status: Offline
Points: 130
Post Options Post Options   Thanks (0) Thanks(0)   Quote apuhjee Quote  Post ReplyReply Direct Link To This Post Posted: 25 July 2007 at 3:37pm
Been a couple of weeks since this post. Serge - could you please comment on this?

Thanks ~ jp
Back to Top
barryna View Drop Down
Newbie
Newbie


Joined: 23 August 2007
Location: United States
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote barryna Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2007 at 3:41pm
I also really need to catch/disable this event.  Any suggestions?
Back to Top
nighthawk View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 June 2004
Status: Offline
Points: 167
Post Options Post Options   Thanks (0) Thanks(0)   Quote nighthawk Quote  Post ReplyReply Direct Link To This Post Posted: 24 August 2007 at 5:52am
Clicking the triangle does trigger the CalendarControl_ViewChanged() event.  When I wanted to disable the view change, I simply set a global variable to store the current calendar view and when the ViewChanged event fired, I set the calendar view back to what it was.

This event will also fire when you set the calendar view by code so you will need to use a global flag to not process the ViewChanged event when you are setting the view via code.

It would definitely be easier if CodeJock gave us a preference to disable it.  I would also like the option of having a vertical scrollbar appearing in the day cell so the user can scroll through all the events if there are too many to view normally.
Back to Top
barryna View Drop Down
Newbie
Newbie


Joined: 23 August 2007
Location: United States
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote barryna Quote  Post ReplyReply Direct Link To This Post Posted: 24 August 2007 at 11:21am
That solution should work for me for now, thanks.  I agree with you, being able to disable the triangle and have the option of a vertical scrollbar in the day cell would be the optimal solution for me.  Let's hope they see this need and add it.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.