Print Page | Close Window

Change Calender Date Manually

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=14859
Printed Date: 06 October 2024 at 7:26pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Change Calender Date Manually
Posted By: mudassar
Subject: Change Calender Date Manually
Date 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



Replies:
Posted By: SuperMario
Date Posted: 29 July 2009 at 10:09am
DatePicker.SelectRange DateMin,DateMax

just make mix\max the same date if selecting only 1.


Posted By: mudassar
Date 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


Posted By: SuperMario
Date Posted: 31 July 2009 at 9:26am
CalendarDayView.ShowDay


Posted By: mudassar
Date 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




Posted By: SuperMario
Date 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


Posted By: mdoubson
Date 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


-------------
Mark Doubson, Ph.D.


Posted By: SuperMario
Date Posted: 17 August 2009 at 8:29am
That is what I put in my first post but he didn't like it.



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