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

Reply via email to