Print Page | Close Window

how to get the date/time when mouse is clicked

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=17112
Printed Date: 19 July 2025 at 3:20am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: how to get the date/time when mouse is clicked
Posted By: waleedsaid
Subject: how to get the date/time when mouse is clicked
Date 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,





Replies:
Posted By: mattb_dcl
Date Posted: 26 August 2010 at 11:41am
HitTest.ViewDay.Date should give you the date you're looking for.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net