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

Groupbox Problem.

Hi,

I have the following problem: in a Windows Form, there are
4 groupboxes containing at most 12 controls each (label,
textboxes, custom controls, etc.). When I run the program
it will show everything normal but the border of one of
the groupboxes. This happened when I had to move one
groupbox on the top of this in design mode in order to
make some changes and, then, when I restored the original
position, it created this problem.

What do I have to do?

Thanks in advance,
ME-LDV
Nov 20 '05 #1
6 1572
You probably have something sitting just over the edge of it. Have a look
around.

Regards - OHM

===============

Miky wrote:
Hi,

I have the following problem: in a Windows Form, there are
4 groupboxes containing at most 12 controls each (label,
textboxes, custom controls, etc.). When I run the program
it will show everything normal but the border of one of
the groupboxes. This happened when I had to move one
groupbox on the top of this in design mode in order to
make some changes and, then, when I restored the original
position, it created this problem.

What do I have to do?

Thanks in advance,
ME-LDV


Best Regards - OHMBest Regards - OHM On**********@BTInternet.Com
Nov 20 '05 #2
* "Miky" <le******@davinci.com> scripsit:
I have the following problem: in a Windows Form, there are
4 groupboxes containing at most 12 controls each (label,
textboxes, custom controls, etc.). When I run the program
it will show everything normal but the border of one of
the groupboxes. This happened when I had to move one
groupbox on the top of this in design mode in order to
make some changes and, then, when I restored the original
position, it created this problem.


Are you sure the controls are not overlapping and they are in the
correct z-order?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
Hi Miky,

Have you tried Herfried's suggestion?
Or
Can you make a small project which will reproduce the problem and send to
my mailbox by removing "online" from my email address?

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 20 '05 #4
Cor
Hi Miky,

Looking at Peters and Herfried answer, I think you can become confused by
the answer "Z" order, I have always to think on Zorro by that.

If you have not set to much properties, maybe you can correct your problem
by temporaly deleting and puting back a control (on his parent), or you can
change the sequence from the construction in your code in the part where the
designer has placed it. I never have problems with that when I am not
delete things of course and do it carefully.

Cor

I have the following problem: in a Windows Form, there are
4 groupboxes containing at most 12 controls each (label,
textboxes, custom controls, etc.). When I run the program
it will show everything normal but the border of one of
the groupboxes. This happened when I had to move one
groupbox on the top of this in design mode in order to
make some changes and, then, when I restored the original
position, it created this problem.

What do I have to do?

Thanks in advance,
ME-LDV

Nov 20 '05 #5
Cor
Hi Miky,

I think I left some words out of this that can give my message a wrong idea.

Read it as
Looking at Peters and Herfried answer I think they have it right but I

think you can become confused by Z order

Cor



Nov 20 '05 #6
* "Cor" <no*@non.com> scripsit:
Looking at Peters and Herfried answer, I think you can become confused by
the answer "Z" order, I have always to think on Zorro by that.


;-)))

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #7

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

Similar topics

3
by: Mr.Clean | last post by:
I am trying to mimic a Windows GroupBox control using fieldset, label and radio buttons. The problem lies in that I can not correctly do the radio buttons relative to the groupbox and the label...
0
by: Mark Johnson | last post by:
Sometimes Controls that have been added to a GroupBox do not show up. What I am doing : 1) I am not using the designer, but create all the Controls per hand: groupBoxProdukt_01 = new...
0
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. ...
1
by: MikeY | last post by:
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...
4
by: TJS | last post by:
I get this error at time of compiling my class code what's missing ?? =================== error ============================= Me.groupBox1 = New GroupBox ~~~~~~~~~~~~~ C:\Documents and...
8
by: johnmmcparland | last post by:
Hi all, my program is trying to add group boxes with radio buttons at run time. While at one point it was able to draw the group boxes without the radio buttons, now it encounters problems just...
2
by: =?Utf-8?B?UmljaA==?= | last post by:
Hello, GroupBox1 contains 3 radiobuttons. Is there a builtin way - a Container property - in the groupbox control to determine which radiobutton is checked - if any? I did not see anything...
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: =?Utf-8?B?R3VzIENodWNo?= | last post by:
I’m working on a GroupBox and need to set the AutoScroll property to true. My problem is I have no AutoScroll property listed in the property box. And even if I go in to the Designer.cs file I...
4
by: Gugale at Lincoln | last post by:
Hi, I am using reflection to read names from enum and creating radio buttons inside a groupbox. Everything is working fine. However, I am not able to adjust the size of the group box to fit the...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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
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...

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.