Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - how to get the date/time when mouse is clicked
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to get the date/time when mouse is clicked

 Post Reply Post Reply
Author
Message
waleedsaid View Drop Down
Newbie
Newbie
Avatar

Joined: 22 October 2007
Location: Lao People's Dem. Rep.
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote waleedsaid Quote  Post ReplyReply Direct Link To This Post Topic: how to get the date/time when mouse is clicked
    Posted: 14 August 2010 at 4:11am
Dear All ,

I have a very simple problem . I need to know the date/ time that the user has clicked on the monthview mode. It works good using ( hittest.activeview ) when I click on an existing event. but when the day is empty . It does not get which date/time that was clicked.

Simply .
I have  a calendar control in the monthview mode. I have also a fixed event data , and I want the user only to click on the monthview days then the event will be added programatically. I can add the event ok , but I do not know which date / time the user has clicked .


Thanks,


Back to Top
mattb_dcl View Drop Down
Newbie
Newbie


Joined: 17 August 2010
Location: United Kingdom
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote mattb_dcl Quote  Post ReplyReply Direct Link To This Post Posted: 26 August 2010 at 11:41am
HitTest.ViewDay.Date should give you the date you're looking for.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.

This page was generated in 0.063 seconds.