Finding the parent of a control

willisgt

Active Member
Licensed User
I'm back into my wacky ways of creating controls on the fly; I'm placing buttons, lablels, and such on panels which are created at runtime.

Is there a method for determining the name of the panel that a given control is on? I was hoping for Control( name ).Parent, but no such luck...

Gary
 

willisgt

Active Member
Licensed User
I was actually thinking of just adding a table to the form, and storing the control name along with its parent. Just looking for a simpler solution.

Gary
 
Top