|
-
Oct 17th, 2004, 06:43 AM
#1
Thread Starter
Addicted Member
Anyone can help ?
If I add this method in.... MonthCalendar1.MaxDate.addDays(3)
Means that I can only select today until 3 days from now...
The thing now is that, how do I make this four days's colours different from other days ??
Meaning like these four days on the MonthCalendar are bold, while the other dates are not bold....
Last edited by hhh; Oct 17th, 2004 at 08:51 AM.
-
Oct 17th, 2004, 06:48 AM
#2
Thread Starter
Addicted Member
Some amendments to the codes...
MonthCalendar1.MinDate = Today.Date
MonthCalendar1.MaxDate = Today.AddDays(3)
yupz...this is it
-
Oct 17th, 2004, 09:57 PM
#3
Thread Starter
Addicted Member
-
Oct 18th, 2004, 11:10 PM
#4
Thread Starter
Addicted Member
-
Oct 24th, 2004, 09:47 PM
#5
Thread Starter
Addicted Member
-
Oct 25th, 2004, 06:05 AM
#6
PowerPoster
Hi,
Have a look at MSDN Help, MonthCalendar control, Selecting dates. That will show you how to make the dates bold. Don't know about colour. The only info I can find is for internet use only - The Dayrender Event.
EDIT:
VB Code:
Dim BoldDates(3) As DateTime
Dim iCount As Integer
For iCount = 0 To 3
BoldDates(iCount) = Today.AddDays(iCount)
Next
MonthCalendar1.BoldedDates = BoldDates
Last edited by taxes; Oct 25th, 2004 at 07:12 AM.
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
-
Oct 25th, 2004, 10:30 PM
#7
Thread Starter
Addicted Member
erm...is it that colors could not be input into that monthcalendar ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|