Solved

Change Background Color DateTimePicker?

Posted on 2007-03-22
3
2,656 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 69

Expert Comment

by:Éric Moreau
ID: 18776470
0
 
LVL 69

Accepted Solution

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

867 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now