controls in groupbox

S

shilpichaudhry

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
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 
S

shilpichaudhry

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]
- (e-mail address removed)


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
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 -
 
N

Nicholas Paldino [.NET/C# MVP]

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]
- (e-mail address removed)

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]
- (e-mail address removed)


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
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 -
 
S

shilpichaudhry

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]
- (e-mail address removed)




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]
- (e-mail address removed)
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.
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top