a) frmParent is the name of the class, not an instance of that form.
b) you want the instance of frmParent, not its MdiParent (it IS the parent you want).
There are ways of working out which form a user control is on, I just can't remember how to do it off the top of my head.
/- Sam Judson : Wrox Technical Editor -/
|