473,830 Members | 2,059 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using several colors for specific dates in monthcalendar

3 New Member
Hi,
I would like to use several colors to display some specific dates in my monthcalendar.
By example, some dates will be displayed in red color, others in green color...

Have you got any solutions ?

Thanks in advance.
Aug 24 '07 #1
0 1197

Sign in to post your reply or Sign up for a free account.

Similar topics

2
7630
by: Simon Pleasants | last post by:
I recently built a database to help keep track of shipments we are bringing into the country. Included in the database are a number of fields with dates for shipment, ETA etc. Each one of these is accompanied by a "week no" relating to the week in the calendar year (I am sure many people are familiar with working with week nos and know what I mean). Currently the users have to refer to wall calendars which have the week nos listed on...
0
1829
by: jpaquete | last post by:
Hi, it seems this is a common demand and the control does not provide simple ways to do it, This is like a brute force attack but it worked for me... void SelectAllDates(){ Graphics g = monthCalendar1.CreateGraphics(); MonthCalendar.HitTestInfo oHTI; ArrayList oDatesArray = new ArrayList();
2
3333
by: Rachel Suddeth | last post by:
Is there a way to have the non-selectable dates (those before MinDate and after MaxDate) draw differently so my users can see right away what dates aren't allowed? I'm not seeing it... Otherwise, anyone know of a cheap 3rd party calendar control I could use that would provide that ability? Thanks, Rachel
0
1497
by: Brian Henry | last post by:
Is there anyway to get bold dates to show up on the drop down month calendar on the date time picker? I need a way to show that something occured on a date on the dropdown, and I can't find a boldeddates array like the monthcalendar has for the dropdown... Is there anyway to access the month calendar in the date time picker dropdown and add bolded dates to it? thanks
0
1374
by: steven | last post by:
Start a new project with 2 forms: one with a datagrid, a button and a monthcalendar, and another form without controls. Try this code in your form with the monthcalendar: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim frm As Form frm = New Form2 frm.Show()
0
1276
by: Susan | last post by:
Hi, Does the MonthCalendar allow selecting incontiguous dates? It allows me to select multiple dates but they seem to have to be continuous. Anything I'm missing? I need a control that does exactly like that (being able to display a single month view or a 12-month view) and also be able to select multiple contiguous or incontiguous dates? Any recommendation?
2
1459
by: jonasi | last post by:
Hi, I would like to use several colors to display some specific dates in my monthcalendar. By example, some dates will be displayed in red color, others in green color... Have you got any solutions ? Thanks in advance.
5
1467
by: alan4cast | last post by:
I posted this in the VB forum several days ago, and got no reply. Since it's specific to VB.Net I thought I'd try it here. I'm a relatively-experienced VB programmer, but I'm still working on learning all of the .net things that I should know. So when I came across this one, I started to dig into it so see if I could figure it out... Here's what I know about brackets - If they are used around a reserved word then that becomes a usable...
12
7300
by: Chris Shepherd | last post by:
Greetings group, I have a situation where I'd like to visibly see disabled dates on a DateTimePicker. Frequently the Min and Max dates in the picker will be set only to days apart, and so I would like this to be reflected in a way other than it simply failing to select when they click. It seems like this would be doable with a MonthCalendar control, however the DateTimePicker itself doesn't seem to expose an internal MonthCalendar, nor...
0
9641
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10769
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10476
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10520
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9310
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5775
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4408
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3956
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3070
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.