![]() |
Change Calender Date Manually |
Post Reply
|
| Author | |
mudassar
Newbie
Joined: 29 July 2009 Location: Pakistan Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Topic: Change Calender Date ManuallyPosted: 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 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 July 2009 at 10:09am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 July 2009 at 12:23am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 31 July 2009 at 9:26am |
|
CalendarDayView.ShowDay
|
|
![]() |
|
mudassar
Newbie
Joined: 29 July 2009 Location: Pakistan Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 August 2009 at 11:54pm |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 August 2009 at 10:24am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 August 2009 at 11:28pm |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 August 2009 at 8:29am |
|
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 |