EFileTahi-A Posted March 16, 2005 Posted March 16, 2005 ... a dateTimePicker object? It's always white and I can only change the colors of the board that opens once I press it... Grrrrr Quote
Leaders snarfblam Posted March 16, 2005 Leaders Posted March 16, 2005 What is wrong with white? It is consitant with the OS. Anyways, I don't know how to change the color of the date time picker. The BackColor property doesn't work. If you are only using it to pick the date and you are skinnig or just making an app w. your own color scheme, w/e, a solution that I found to this problem is to make a label or your own control that has the appearence you want, and when the user clicks it, show a previously hidden MonthCalendar control with your preferred colors. This has many drawbacks, however. The user can not edit the date in the collapsed view (unless you program this functionality), and the popup month selector must be contained within the bounds of the control. Quote [sIGPIC]e[/sIGPIC]
Leaders dynamic_sysop Posted March 16, 2005 Leaders Posted March 16, 2005 check this link out, it has an example of what you want maybe ... How to set the background color of a DateTimePicker control. Quote
*Experts* DiverDan Posted March 16, 2005 *Experts* Posted March 16, 2005 Congratulations Dynamic Sysop !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Quote Member, in good standing, of the elite fraternity of mentally challenged programmers. Dolphins Software
EFileTahi-A Posted March 17, 2005 Author Posted March 17, 2005 Ok, thanks for ur posts... Originaly posted by Marble_eater What is wrong with white? It is consitant with the OS. what is wrong wanting to change the controls back color? Quote
Leaders snarfblam Posted March 17, 2005 Leaders Posted March 17, 2005 So sorry what is wrong wanting to change the controls back color? Hey pal I was just giving a recommendation, and for that matter trying to help. A lot of people hate when you override their color preferences. Quote [sIGPIC]e[/sIGPIC]
EFileTahi-A Posted March 18, 2005 Author Posted March 18, 2005 (edited) Hey pal I was just giving a recommendation' date=' and for that matter trying to help.[/quote'] I Thank you "pal" for your both recommendation and help. A lot of people hate when you override their color preferences. Honestly, I never knew anyone who would be upset for having some software with controls that would not be in its predefined color, unless we are talking color combinations like "hot red" windows, "yeallow" text and "shock-pink" text-boxes. Also, it's normal to have customized skins and interfaces in nowadays that's why almost every control in .NET have the option of changing the background, foreground (...) colors. A person having a problem with the backcolor of some DateTimePicker background in some program will easly hate even more programs with customized skins IMHO... A person with problems to say the least... People want programs that perform their job well, free of bugs, that's what sells at my company. Never had the suggestion from any client saying: "I like your software, but I would prefer the text boxes in white" or "Is it possible to change the backcolor of the program controls?"... The reason you did not liked my "counter-question" was the same reason I did not liked yours, as I think it was truly useless. If I want to change the controls pre-defined "white" color its because the same "white" color does not fits my needs, so why suggesting the same old color you knew I was refusing from the beggining? Because windows loves to have controls white? Because you would not change its color? Luckly, I do like to be original and creative... Edited March 18, 2005 by EFileTahi-A Quote
Administrators PlausiblyDamp Posted March 18, 2005 Administrators Posted March 18, 2005 The problem with changing a control's back colour is that if you do not consider my windows settings you could render your control un-usable. Imagine if you had decided on a blue background; what if I have decided on blue text - your control would render blue text on a blue background. The only solution would be to take control of all colours used in the application. This may work for you but consider people with impaired vision who have selected a high contrast scheme which enables them to see text properly, you are now providing a design that may be totally un-usable by these people. As to your argument of because the same "white" color does not fits my needs - to be honest I personally couldn't give a toss about the developers 'needs'; as a user of a piece of software I want it to fit my needs and I take a very dim view of software that igores / overrides my settings. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
EFileTahi-A Posted March 19, 2005 Author Posted March 19, 2005 (edited) The problem with changing a control's back colour is that if you do not consider my windows settings you could render your control un-usable. Imagine if you had decided on a blue background; what if I have decided on blue text - your control would render blue text on a blue background. The only solution would be to take control of all colours used in the application. This may work for you but consider people with impaired vision who have selected a high contrast scheme which enables them to see text properly, you are now providing a design that may be totally un-usable by these people. As to your argument of - to be honest I personally couldn't give a toss about the developers 'needs'; as a user of a piece of software I want it to fit my needs and I take a very dim view of software that igores / overrides my settings. Yeah, I agree with you unless the person who's making this backcolor changes knows what he/her is doing... Fortunately am applying a pre-defined systemColors "Control" color to the DateTime control backcolor to make it look like "disable" under certain conditions, overriding thus, all possible problems you described above... Yet, I have functions that check all pre-defined colors in order to counter (again) the issues you have described in case I use my own colors... PS: What you have said was nothing new to me but tks anyway... http://img.photobucket.com/albums/v698/EFileTahi-A/EFile_Torpedo.jpg Edited March 20, 2005 by EFileTahi-A Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.