J
John
Hi,
I have GroupBoxes and Panels of varying sizes that I dynamically
display on my Windows Forms. Is there a way that I can calculate the
minimum size of a GroupBox or a Panel to display all the controls that
it contains without clipping the edges?
I have a GroupBox that I add rows of TextBoxes to. I don't know how
many TextBoxes I'll need to add at compile time. So at run-time, I'd
like to call some method to tell me the minimum size required to
display all the textboxes in the GroupBox and then resize the GroupBox
to show all the TextBoxes.
Thanks,
John
I have GroupBoxes and Panels of varying sizes that I dynamically
display on my Windows Forms. Is there a way that I can calculate the
minimum size of a GroupBox or a Panel to display all the controls that
it contains without clipping the edges?
I have a GroupBox that I add rows of TextBoxes to. I don't know how
many TextBoxes I'll need to add at compile time. So at run-time, I'd
like to call some method to tell me the minimum size required to
display all the textboxes in the GroupBox and then resize the GroupBox
to show all the TextBoxes.
Thanks,
John