Print Page | Close Window

set DatePicker selected date range in vb6?

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=14277
Printed Date: 23 April 2024 at 4:19am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: set DatePicker selected date range in vb6?
Posted By: Jaymeister
Subject: set DatePicker selected date range in vb6?
Date Posted: 12 May 2009 at 11:46am
if vb6 on my XP box using demo control...

  Debug.Print CalendarControl.ActiveView.Days(0).Date
  Debug.Print CalendarControl.ActiveView.Days(CalendarControl.ActiveView.DaysCount - 1).Date

...prints DatePicker selected date range

how do I set this date range using code?



Replies:
Posted By: dentor
Date Posted: 12 May 2009 at 12:29pm
You can code:
 
DatePicker.SelectRange DateMin,DateMax
 


-------------
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0 SP 6


Posted By: Jaymeister
Date Posted: 13 May 2009 at 5:57am
that works - thankyou

but then the control
selects the entire CalendarControl's visible days range

My boss said he can live with that - happy days :)



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