Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Is there anyway to....
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Is there anyway to....

 Post Reply Post Reply
Author
Message
Matt View Drop Down
Newbie
Newbie


Joined: 21 January 2006
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote Matt Quote  Post ReplyReply Direct Link To This Post Topic: Is there anyway to....
    Posted: 07 February 2006 at 11:48am

Is there a a method or property I can set so that when in month view, the day selected via a mouseclick is not highlighted?

Thanks

Matt

Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 08 February 2006 at 6:29am
Hi Matt,

There are no such method, but you can catch SelectionChanged event and reset selection when necessary (if month vew is active).

--
WBR,
Serge
Back to Top
WaaZ View Drop Down
Senior Member
Senior Member


Joined: 31 January 2006
Location: United Kingdom
Status: Offline
Points: 103
Post Options Post Options   Thanks (0) Thanks(0)   Quote WaaZ Quote  Post ReplyReply Direct Link To This Post Posted: 19 February 2006 at 6:16am

Hi Matt,

Correct me if I am wrong, but you want to let ur selection remain the same when u r in a month view. This means that when u click on the control, the selection does not change.

Before changing to Month view, Just before changing viewType to month view, Capture the startDate, EndDate and isAllDay using:

CalendarControl.ActiveView.GetSelection

Then, in ur mouseDown and mouseUp, you check the viewType.

If (CalendarControl.viewType == CalendarViewType.xtpCalendarMonthView)

{

CalendarControl.ActiveView.SetSelection(tempStartDate,tempEn dDate,isAllDay);

}

 

thnx.

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.187 seconds.