set DatePicker selected date range in vb6? |
Post Reply |
Author | |
Jaymeister
Groupie Joined: 27 April 2009 Status: Offline Points: 32 |
Post Options
Thanks(0)
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? |
|
dentor
Senior Member Joined: 30 November 2005 Location: France Status: Offline Points: 102 |
Post Options
Thanks(0)
|
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 |
|
Jaymeister
Groupie Joined: 27 April 2009 Status: Offline Points: 32 |
Post Options
Thanks(0)
|
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 :) |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |