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

groupbox

jim
I have two panels of identical sie. I would like to postion them on
the same part of the form and have one become visible and the other
invisible depending on other actions that occur on the form. The
problem is that when I position one over the other one becomes
"contained" with in the other. s there a way to prvent this from
occuring?

Feb 13 '07 #1
4 1547
Yes...

Instead of dragging the one panel above the other...
go to the properties of the first panel...look at the "Location" property,

and then click on the second tab, and click on the properties and change the
Location thru the properties.

Then to access any of the two panels, right click on the panel and just
click on "Send to back"...

Miro

<ji*@aol.comwrote in message
news:gs********************************@4ax.com...
>I have two panels of identical sie. I would like to postion them on
the same part of the form and have one become visible and the other
invisible depending on other actions that occur on the form. The
problem is that when I position one over the other one becomes
"contained" with in the other. s there a way to prvent this from
occuring?

Feb 14 '07 #2
Jim
I had tried that. However, just to torture myself (and whoever helps)
the first group panel sit in an tabcontrol..If I do what you say the
second control sit "in the air" so to speack so when I change tabpages
it is always visible. The only way around it was to right additional
code to make it disappear when I change tab pages. It is nt elegant
and make it difficult to work on the UI. on group panel block
everything
On Tue, 13 Feb 2007 19:54:44 -0500, "Miro" <mi******@golden.net>
wrote:
>Yes...

Instead of dragging the one panel above the other...
go to the properties of the first panel...look at the "Location" property,

and then click on the second tab, and click on the properties and change the
Location thru the properties.

Then to access any of the two panels, right click on the panel and just
click on "Send to back"...

Miro

<ji*@aol.comwrote in message
news:gs********************************@4ax.com.. .
>>I have two panels of identical sie. I would like to postion them on
the same part of the form and have one become visible and the other
invisible depending on other actions that occur on the form. The
problem is that when I position one over the other one becomes
"contained" with in the other. s there a way to prvent this from
occuring?
Feb 14 '07 #3
I dont fully understand.

If you have a Tab Page...
and have 2 tabs... Tab A and Tab B

and on Tab A you have two panels, and have made the "Location" property the
same. They are both a Child of Tab A, so will disapear automatically when
you switch to Tab B.

I think your issue is that you have 1 Panel created within Tab A and one
Outside of it?
If this is the case, you have to create both Panels inside and then do the
Location Thing.

Can you do a quick screenshot / jpg of the tab page and panel in question ?

M.

<Ji*@aol.comwrote in message
news:0m********************************@4ax.com...
>I had tried that. However, just to torture myself (and whoever helps)
the first group panel sit in an tabcontrol..If I do what you say the
second control sit "in the air" so to speack so when I change tabpages
it is always visible. The only way around it was to right additional
code to make it disappear when I change tab pages. It is nt elegant
and make it difficult to work on the UI. on group panel block
everything
On Tue, 13 Feb 2007 19:54:44 -0500, "Miro" <mi******@golden.net>
wrote:
>>Yes...

Instead of dragging the one panel above the other...
go to the properties of the first panel...look at the "Location" property,

and then click on the second tab, and click on the properties and change
the
Location thru the properties.

Then to access any of the two panels, right click on the panel and just
click on "Send to back"...

Miro

<ji*@aol.comwrote in message
news:gs********************************@4ax.com. ..
>>>I have two panels of identical sie. I would like to postion them on
the same part of the form and have one become visible and the other
invisible depending on other actions that occur on the form. The
problem is that when I position one over the other one becomes
"contained" with in the other. s there a way to prvent this from
occuring?

Feb 14 '07 #4
Jim
On Tue, 13 Feb 2007 21:58:05 -0500, "Miro" <mi******@golden.net>
wrote:
>I dont fully understand.
Yes
>If you have a Tab Page...
and have 2 tabs... Tab A and Tab B
Yes
>and on Tab A you have two panels, and have made the "Location" property the
same.
No
>They are both a Child of Tab A, so will disapear automatically when
you switch to Tab B.
One ends up being a child of TabA the other ends up being a child of
the main form. If I try to put in on tab A it becomes a child of the
panel which is a child of tab A
>
I think your issue is that you have 1 Panel created within Tab A and one
Outside of it?
If this is the case, you have to create both Panels inside and then do the
Location Thing.
Correct but I cnnot seem to control how to creat bot within Tab A it
keeps getting "sucked in"

>
Can you do a quick screenshot / jpg of the tab page and panel in question ?

M.

<Ji*@aol.comwrote in message
news:0m********************************@4ax.com.. .
>>I had tried that. However, just to torture myself (and whoever helps)
the first group panel sit in an tabcontrol..If I do what you say the
second control sit "in the air" so to speack so when I change tabpages
it is always visible. The only way around it was to right additional
code to make it disappear when I change tab pages. It is nt elegant
and make it difficult to work on the UI. on group panel block
everything
On Tue, 13 Feb 2007 19:54:44 -0500, "Miro" <mi******@golden.net>
wrote:
>>>Yes...

Instead of dragging the one panel above the other...
go to the properties of the first panel...look at the "Location" property,

and then click on the second tab, and click on the properties and change
the
Location thru the properties.

Then to access any of the two panels, right click on the panel and just
click on "Send to back"...

Miro

<ji*@aol.comwrote in message
news:gs********************************@4ax.com ...
I have two panels of identical sie. I would like to postion them on
the same part of the form and have one become visible and the other
invisible depending on other actions that occur on the form. The
problem is that when I position one over the other one becomes
"contained" with in the other. s there a way to prvent this from
occuring?

Feb 14 '07 #5

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...
1
by: Bob C. | last post by:
Hi All, I placed a GroupBox on form. I am doing some drawing on groupbox. I dont want to get GroupBox's background erased while i call myGroupbox.Invalidate(). How can i stop erasing the...
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...
5
by: Minfu Lu | last post by:
There are no public events such as mouse down, mouse move and mouse up for GroupBox in C#. It is possible to move a GroupBox programmably inC#? Thanks Minfu
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...
4
by: shilpichaudhry | last post by:
Hi: I need to have controls in groupBox, which should not be clipped as per the size of the group box. so if they are longer, the control like a text box should appear (unclipped) Thanks,...
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: 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: 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.