Solved

Change Background Color DateTimePicker?

Posted on 2007-03-22
3
2,687 Views
Last Modified: 2013-12-17
In my C# app, I'd like the components on a form to have a light red background color when entering data in that component is mandatory (and white when it's optional).  This works for all components so far, but not for the DateTimePicker --note that I want to set the background color of an 'unopened' DateTimePicker, that is, when it still looks like a combo box.  How can I do that?

Thank you in advance for your help!
0
Comment
Question by:StrayJay
  • 2
3 Comments
 
LVL 5

Expert Comment

by:kosturdur
ID: 18775555
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 18776470
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 125 total points
ID: 18776474
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question