![]() |
Change Calender Date Manually |
Post Reply ![]() |
Author | |
mudassar ![]() Newbie ![]() Joined: 29 July 2009 Location: Pakistan Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() Posted: 29 July 2009 at 7:10am |
In sample code, we can change date by date picker. If we want to chabge date manually, what should we do.
Regards |
|
![]() |
|
SuperMario ![]() Senior Member ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
DatePicker.SelectRange DateMin,DateMax
just make mix\max the same date if selecting only 1. |
|
![]() |
|
mudassar ![]() Newbie ![]() Joined: 29 July 2009 Location: Pakistan Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
Thanks for your response. But i need to set date independent of date picker control.
Is there a way to do this. Regards |
|
![]() |
|
SuperMario ![]() Senior Member ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
CalendarDayView.ShowDay
|
|
![]() |
|
mudassar ![]() Newbie ![]() Joined: 29 July 2009 Location: Pakistan Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
thanks for post. i still have problem. CalendarDayView.ShowDay is not correct property.
please elaborate your suggestion. i will be thankful to you Regards |
|
![]() |
|
SuperMario ![]() Senior Member ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
not sure what is wrong with it, maybe you want multiple days.
Dim Today As Date Today = Now CalendarControl.ViewType = xtpCalendarDayView CalendarControl.DayView.ShowDays Today - 2, Today + 2 CalendarControl.ViewType = xtpCalendarWorkWeekView |
|
![]() |
|
mdoubson ![]() Senior Member ![]() ![]() Joined: 17 November 2008 Status: Offline Points: 1705 |
![]() ![]() ![]() ![]() ![]() |
No - this is proper syntax and this is enough to show on Form Load Aug 14 DayView Calendar (running today - Aug, 11)
CalendarControl.ViewType = xtpCalendarDayView
CalendarControl.DayView.ShowDay Now + 3 |
|
![]() |
|
SuperMario ![]() Senior Member ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
That is what I put in my first post but he didn't like it.
|
|
![]() |
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 |