Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - set DatePicker selected date range in vb6?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

set DatePicker selected date range in vb6?

 Post Reply Post Reply
Author
Message
Jaymeister View Drop Down
Groupie
Groupie
Avatar

Joined: 27 April 2009
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jaymeister Quote  Post ReplyReply Direct Link To This Post Topic: set DatePicker selected date range in vb6?
    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?
Back to Top
dentor View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2005
Location: France
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote dentor Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Jaymeister View Drop Down
Groupie
Groupie
Avatar

Joined: 27 April 2009
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jaymeister Quote  Post ReplyReply Direct Link To This Post 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 :)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.139 seconds.