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

controls in groupbox

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, Shilpi

May 11 '07 #1
4 3828
Shilpi,

In this case, you are going to have to figure out the space that the
controls in your groupbox contains and size the groupbox accordingly.

However, you should be sure that your parent container (the parent
control of the groupbox) has enough space to accomidate the resizing of the
groupbox.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<sh************@gmail.comwrote in message
news:11**********************@l77g2000hsb.googlegr oups.com...
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, Shilpi

May 11 '07 #2
On May 11, 11:51 am, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
Shilpi,

In this case, you are going to have to figure out the space that the
controls in yourgroupboxcontains and size thegroupboxaccordingly.

However, you should be sure that your parent container (the parent
control of thegroupbox) has enough space to accomidate the resizing of thegroupbox.

--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard.caspershouse.com

<shilpichaud...@gmail.comwrote in message

news:11**********************@l77g2000hsb.googlegr oups.com...
Thanks Nicholas ! Yes thats not an option, I can't resize the groupbox _ I just the need the controls to be visible(without being clipped) and yet be a part of the group box.
Shilpi
>
Hi:
I need to have controls ingroupBox, 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, Shilpi- Hide quoted text -

- Show quoted text -

May 11 '07 #3
Well, if that is the case, then you need have your control determine
what the size of the groupbox is and size its child members accordingly.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<sh************@gmail.comwrote in message
news:11********************@p77g2000hsh.googlegrou ps.com...
On May 11, 11:51 am, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
>Shilpi,

In this case, you are going to have to figure out the space that the
controls in yourgroupboxcontains and size thegroupboxaccordingly.

However, you should be sure that your parent container (the parent
control of thegroupbox) has enough space to accomidate the resizing of
thegroupbox.

--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard.caspershouse.com

<shilpichaud...@gmail.comwrote in message

news:11**********************@l77g2000hsb.googleg roups.com...
Thanks Nicholas ! Yes thats not an option, I can't resize the groupbox _
I just the need the controls to be visible(without being clipped) and yet
be a part of the group box.

Shilpi
>>
Hi:
I need to have controls ingroupBox, 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, Shilpi- Hide quoted text -

- Show quoted text -


May 11 '07 #4
On May 11, 2:39 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
Well, if that is the case, then you need have your control determine
what the size of thegroupboxis and size its child members accordingly.

--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard.caspershouse.com

<shilpichaud...@gmail.comwrote in message

news:11********************@p77g2000hsh.googlegrou ps.com...
On May 11, 11:51 am, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
Shilpi,
In this case, you are going to have to figure out the space that the
controls in yourgroupboxcontains and size thegroupboxaccordingly.
However, you should be sure that your parent container (the parent
control of thegroupbox) has enough space to accomidate the resizing of
thegroupbox.
--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard.caspershouse.com
<shilpichaud...@gmail.comwrote in message
>news:11**********************@l77g2000hsb.googleg roups.com...
Thanks Nicholas ! Yes thats not an option, I can't resize thegroupbox_
I just the need the controls to be visible(without being clipped) and yet
be a part of the group box.
Shilpi
Hi:
I need to have controls ingroupBox, 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, Shilpi- Hide quoted text -
- Show quoted text -- Hide quoted text -

- Show quoted text -
Do you know anything about WS_CLIPSIBLINGS and how that can be used -
If I remove that from the style, nothing happens, but when I remove it
along with WS_CHILD, it takes care of the problem, but also makes the
control a popup control

Shilpi

May 11 '07 #5

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

Similar topics

2
by: phknox | last post by:
Due to a HD crash, I had to reinstall VS.net 2002. Now when I build my c# project, the controls on my windows form shrink. Each time I build, the controls shrink. I can resize them, but they...
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: dantheman | last post by:
Hi, i'm doing a programe in a few languages so i've found this code that iterates tru the forms controls and returns there names but the problem is after re-parenting the controls to optimize...
2
by: Richard Grene | last post by:
I misstated my earlier post about maximum of 57 controls. My real question is how to loop through all controls in a form, even if the control is part of a GroupBox? I want to write some generic...
3
by: Steven Smith | last post by:
Hi guys I'm using object variables to address several controls on a form like so... Private Sub cmdReset_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles...
7
by: Eduardo78 | last post by:
Hello everybody, I heard I could clear (or move spaces) to all controls at ones without having to call each one of them. If someone remembers how to do that, I will apreciate your help. My...
7
by: RichG | last post by:
I want to lock all controls except the buttons on a form. I sometimes need the form to call lockForms(Me). public sub lockControls(frm as form) for each ctrl as control in frm if...
2
by: RichG | last post by:
With the help of Cor Ligthert in a pryor post I was able to make this sub: Public Sub disableControls(ByVal frm As Form) 'this is to create a read only form that has active buttons Dim x As...
1
by: Don | last post by:
I'm getting the following exception displayed in the task list at design time for my project: "Code generation for property 'Controls' failed. Error was: 'Object reference not set to an...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.