Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Null Selection?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Null Selection?

 Post Reply Post Reply
Author
Message
fergie View Drop Down
Groupie
Groupie


Joined: 20 May 2008
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote fergie Quote  Post ReplyReply Direct Link To This Post Topic: Null Selection?
    Posted: 06 August 2008 at 10:51am
Is is possible to have no selection within the day view selection?
 
I have tried but am unable to now have a selection.
 
I Have tried the ResetSelection function but it still selects a cell.
 
I have tried setting StartDate and EndDate within the Selection Property to 0 and still no Joy?
 
Is what i want attempting to do possible?
 
Regards
David
 
Back to Top
Mr.Den View Drop Down
Groupie
Groupie
Avatar

Joined: 26 August 2007
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mr.Den Quote  Post ReplyReply Direct Link To This Post Posted: 07 August 2008 at 7:04am
How about:
 
CalendarControl.ActiveView.UnselectAllEvents
 
Is that what you are looking for?
Back to Top
fergie View Drop Down
Groupie
Groupie


Joined: 20 May 2008
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote fergie Quote  Post ReplyReply Direct Link To This Post Posted: 08 August 2008 at 6:52am
Thank you for your suggestion but i believe that only unselects all events not selected times within the grid.
 
I have found a solution in that i apply the following code when the users chaneges dates times etc...
 
CalendarControl.DayView.ResetSelection
CalendarControl.DayView.Selection.Begin = 0
CalendarControl.DayView.Selection.End = 0
Back to Top
Mr.Den View Drop Down
Groupie
Groupie
Avatar

Joined: 26 August 2007
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mr.Den Quote  Post ReplyReply Direct Link To This Post Posted: 10 August 2008 at 7:21pm
Yes, you are correct, that would have unselected all events, I misunderstood your question.
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.189 seconds.