473,215 Members | 1,214 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,215 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 3821
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...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

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.