Get parent group box name -- E10

Hi,

I’d like to check if a control like a text box is the child of a certain group box.

I’m looking at something like:

string abc = Convert.ToString(txtBlowAgent.Parent);

MessageBox.Show("parent = " + abc);

It displays: parent = Ice.Lib.Framework.EpiGroupBox

It won’t give me -which- group box the control belongs to. I don’t see anything in the control properties that would give me something like xxx.ParentName.

Any ideas?

Thanks,

Joe

All I had to do was post the question–and try one more thing:

string abc = Convert.ToString(txtBlowAgent.Parent.Name);

Thanks,

Joe