Hello,
I tried to do this:
foreach (Control c in this.groupBox1.Controls)
{
groupBox1.Size.Height=groupBox1.Size.Height+c.Heig ht;
}
but I keep getting compile error:
Cannot modify the return value of 'System.Windows.Forms.Control.Size'
because it is not a variable
How can I change this value?
Another question,
My controls inside the group box are radio buttons and I need to know
which one of them been selected,how do I do it via the group box?
Thanks a lot!
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!