Print Page | Close Window

Retrieving date from datepicker

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=7049
Printed Date: 23 November 2024 at 5:48am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Retrieving date from datepicker
Posted By: Krass
Subject: Retrieving date from datepicker
Date Posted: 05 May 2007 at 2:17pm
With my old calendar control, I used to do the following to retrieve the current selected date:
msgbox ctlCalendar
 
With codejock's date picker, I have to use the following:
msgbox ctlCalendar.Selection.Blocks(0).DateBegin
 
I find this line of code a little long, not that it's that bad, but since I am using the calendar ALWAYS for only one date (MaxSelectionCount = 1), is there shorter way to retrieve the date currently selected?
 
Thanks


-------------
Christian



Replies:
Posted By: sserge
Date Posted: 16 May 2007 at 4:52pm
Hi,

No shorter way, sorry. It was designed to operate with selection blocks.

--
WBR,
Serge



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