473,383 Members | 1,837 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,383 software developers and data experts.

GroupBox border thickness?

I'm trying to find a way for changing the thickness of the groupbox borders.
I've searched on this site but can't seem to find anything of this subject.
Does anyone have a suggestion.

Thanks in advance

MikeY

Nov 16 '05 #1
1 12998
The GroupBox is a custom drawn .Net control. You will need to hook into the
Paint event, or derive from the GroupBox and override the OnPaint method,
determine where the existing lines are being drawn and then draw overtop of
them with wider lines to achieve the thicker border. Or you can create a
custom control and paint everything yourself. A GroupBox implementation,
that was written for the compact framework but can easily be adapted for the
full framework, can be found here.
http://www.opennetcf.org/SourceBrows...ms/GroupBox.cs

--
Tim Wilson
..Net Compact Framework MVP

"MikeY" <mi*******@yahoo.c> wrote in message
news:P5*******************@news20.bellglobal.com.. .
I'm trying to find a way for changing the thickness of the groupbox borders. I've searched on this site but can't seem to find anything of this subject. Does anyone have a suggestion.

Thanks in advance

MikeY


Nov 16 '05 #2

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

Similar topics

2
by: Mel | last post by:
is it possible to change the border thickness/color etc. on a <SELECT> box ? thanks for your help
4
by: Peteroid | last post by:
In a standard GroupBox, how do I make the visible 'border line' not show (it looks like an etched in line about 5 pixels shy of each border of the group box)? Thanks in advance!
4
by: VB Programmer | last post by:
How do you set the thickness of a <TABLE> border? I know that the MOST OBVIOUS answer would be to do it through the properties window, but it's NOT WORKING. I tried this: <TABLE id="Table2"...
2
by: PJ6 | last post by:
The look of the site I'm designing at the moment has all buttons with a 1px solid border. They look good except if a button is runat = server... if a different control takes focus (from a user...
0
by: naren | last post by:
Hi, I'm using a Listview in the list mode and have some items added. The CheckBoxes property is set to true. Now I wish to alter the properties of the Checkbox. For e.g I wish to change to...
5
by: Jason Huang | last post by:
Hi, I would like to set the GroupBox's border to invisible, how to do that? Thanks for help. Jason
1
by: Ames111 | last post by:
I have found about a billions threads on this but not one answer. The groupbox control, how can you set its border colour? I see many people responding with "Capture the onpaint event" but...
0
by: cyberdine | last post by:
Hi, I am trying to apply text border to some text I am drawing. I obtained some code from Bob Powells GDI+ FAQ but it seems that the text border is draw from outside inwards, that is the letter...
8
by: Steve | last post by:
Hi All Is there a way to change the colour of a Groupbox border in VB.net 2005 I want to change it to white Can it be done in the onpaint event? Regards Steve
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.