Print Page | Close Window

Displaying a whole year in a DatePicker control

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=5288
Printed Date: 22 November 2024 at 8:23pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Displaying a whole year in a DatePicker control
Posted By: EMoscosoCam
Subject: Displaying a whole year in a DatePicker control
Date Posted: 14 October 2006 at 12:14am
Hello
 
I would like to know how to display a whole year in a DatePicker control. That is, having resized the control to show 12 months, I need to make something like:
 
 DatePicker1.StartDate=DateSerial(1,1,2006)
 
Thanks a lot.



Replies:
Posted By: sserge
Date Posted: 14 October 2006 at 4:24am
Call EnsureVisible:

DatePicker1.EnsureVisible #1/1/2006#


--
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