Delphi5: Constructor XXX.Create(Aowner : TComponent); How do I detemine who the owner is that is passed to the constructor of my component in Delphi 5? I have tried using this code if (Aowner is TFrame) then else { assume AOwner is a TForm } But I get invalid typecast.... Is there any way of knowing what the control is being dropped on to?; ie a form or a DataModule or a TFrame? I need to know as the control interfacts with the form, and I hope to enhance that to include the new TFrame component. Chris Crowe --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz