Sorted this....dont worry about replying..
Cheers,
Jeremy Coulter
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Jeremy Coulter
> Sent: Monday, November 15, 1999 5:50 PM
> To: Multiple recipients of list delphi
> Subject: [DUG]: Control has no parent
>
>
> Hi all.
>
> quick question.
> I am trying to create a dynamic Listbox inside a component, i.e.
> HitsList:=TListBox.Create;
> BUT when I try to add something to the items of it I get the error Control
> has no Parent.
> so I did HitsList:=TListBox.CreateParented() but I am not sure what to put
> between the brackets, i.e. self or what.
>
> Can some one point me in the right direction ?? I DO know the answer to
> this, but I forget right now...DUH !
>
>
> Cheers, Jeremy Coulter
>
>
> ------------------------------------------------------------------
> ---------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz