473,503 Members | 3,085 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Control colors of a groupbox

Hi,

How can I control the colors of the heading and the frame of a groupbox
control in .net 2.0

Regards Jesper.
Nov 17 '05 #1
1 1277
Jesper,

You can set the ForeColor property on the GroupBox control to the color
you want the border and text to be rendered in.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jesper" <Je****@discussions.microsoft.com> wrote in message
news:0B**********************************@microsof t.com...
Hi,

How can I control the colors of the heading and the frame of a groupbox
control in .net 2.0

Regards Jesper.

Nov 17 '05 #2

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

Similar topics

2
2230
by: kea | last post by:
I have a checkbox and a textbox in a continuous taborder on a form along with a bunch of other controls. The textbox is disabled. When I leave the checkbox I want to enable the textbox and move...
0
1282
by: Marina | last post by:
Hi, I'm creating a user control similar to the GroupBox control and I need to set Title and Border colors same as a ones of the original .NET GroupBox. For example with blue or silver color...
0
1603
by: Renee | last post by:
Hi there, does any one know how to create context sensitive help for Groupbox control with HelpProvider class? I can create context sensitive help for any control easily except for Groupbox. ...
2
18760
by: Serge | last post by:
Hi, in my windows.forms application I have added a goupBox control to my windows.form. Now I want to know the x,y-position from the mouse cursor when I click on the groupBox. The strange thing...
10
8606
by: Tom | last post by:
I want to be able (at run time) to center a control (like a text box) inside a group box. Whats the best way to calculate this? Is there something in the framework that tells you the area INSIDE a...
19
1335
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...
0
1262
by: harishashim | last post by:
I'll make this post as short as possible. 1. Put a GroupBox on a window form. Put a Button and TextBox inside the GroupBox . 2. Select the group box, do copy and paste inside the same windows...
1
3218
by: =?Utf-8?B?UmF5IE1pdGNoZWxs?= | last post by:
Hello, I have a control that is inside a GroupBox, and that GroupBox is inside another group box. I would like to find the location of the control relative to the form itself. When I examine...
1
2323
by: antani | last post by:
I have a groupbox in my application that contains many control as NumericUpDown and CheckBox. I would like capture event on groupbox control as changing NumericUpDown value and checkbox change ....
0
7291
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
7357
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
5598
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4690
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...
0
3180
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...
0
3171
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1522
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 ...
1
748
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
402
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.