473,399 Members | 3,603 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

What color is SystemColors.Control?

What is the System.Drawing.Color equivalent of
System.Drawing.SystemColors.Control for default XP form background color?
(It's the light tan).

If there is no equivalent, how could I read a color property and then
duplicate the color property to another control?

For example, I’ve got a control that I need to have the same BackColor as
the form BackColor. But when I set the BackColor of my control to
System.Drawing.SystemColors.Control it is a light gray and not the light tan
of the form background.

By the way, myControl.BackColor = this.BackColor does not work either.

Thanks,
Jake
Nov 22 '05 #1
0 1780

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jake | last post by:
What is the System.Drawing.Color equivalent of System.Drawing.SystemColors.Control for default XP form background color? (It's the light tan). If there is no equivalent, how could I read a color...
4
by: Frank Rizzo | last post by:
I am being passed a string, such as ControlText. From this string, I must figure its color value and set that value to a control. All these values are stored in the System.Drawing.SystemColors.*...
3
by: AussieRules | last post by:
Hi, In XP you can set color schemes (olive green, silver, default blue). I have some controls(panels) on my form, and I would like to set the color as per the color of the scheme. Can this...
36
by: AussieRules | last post by:
Hi, I want to use the user color scheme to set the color of my forms. I now I have to use the. System.Drawing.SystemColors, but which color is the color of a form background as used in other...
2
by: Colin McGuire | last post by:
Hi, according to the on-line documentation you can change the background colour of, for example a button, to Gray as shown below. Dim b as Button b.BackColor=Color.Gray If I programmatically...
19
by: Max | last post by:
Take a look at this screenshot that I've made: http://www.subdir.net/myFiles/line_ss.jpg I've circled the two lines that separate different sections of the form. Does anybody know how to make...
7
by: beetdocta | last post by:
hello i was wondering is it possible in visual basic .net to change the color of certain words or phrases without changing the color of all the text in the lable or without having to create a new...
1
by: Kevin L | last post by:
Can anyone tell me the RGB values for the "Control" System Color? Thanks
1
by: thomasc | last post by:
Hello, This is about VB.NET2003. I'm trying to obtain the RGB value of a Windows system color and use it as the background color of my Microsoft Word file. But I have not been able to find...
2
by: Brian | last post by:
Hi, how do i set programmicatly the background of a control.. say textbox.. to = the selection of system.control or controldark?
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...
0
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...

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.