Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parent Control

Status
Not open for further replies.

mattyboy2000

Programmer
Jul 31, 2002
129
GB
Hi I am inheriting from the RadioButton Control and need to know how I get a reference to it's container/Parent control. ie if I have a form (Form1) which contains a Panel (Panel1) which contains a Radio Button (Radio1) how do I get a reference from Radio1 to the Panel1.

I understand there are functions to get the Bottom Form, but not the next control up the list:

Me.TopLevelControl.Name
Me.FindForm.Name

Hope you can help

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top