473,938 Members | 1,784 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
2 1462
kenobewan
4,871 Recognized Expert Specialist
What have you tried?
Aug 24 '07 #2
jonasi
3 New Member
Hi,

I tried this solution :
http://nickeandersson. blogs.com/blog/2006/05/_modifying_the_ .html

It works when you display only one Month but that's no longer the case when you display three months. This is my real problem : I want to display three Months
Aug 25 '07 #3

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

Similar topics

2
7636
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...
10
3930
by: Ty Smith via AccessMonster.com | last post by:
I noticed that the week numbers in Stephan Leban's MonthCalendar are not consistent with Microsoft Outlook (they are shifted one week forward). Is there any way I can sync these two up by changing something in the module or the code in Stephan's MonthCalendar? Thanks, TySmith -- Message posted via http://www.accessmonster.com
0
1836
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
3335
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
1504
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
1379
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
1284
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?
0
1205
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
1473
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
7310
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
11507
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
11095
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...
0
10649
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
8207
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7377
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6072
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6282
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4899
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
4441
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.