Heres an EasySqueezy one for someone:
What is the difference between
  panel:=tpanel.Create(owner);
and
  panel:=tpanel.Create(self);

Its a very rudimentary question, but I dont know!
Normally I use self, but in this case I want to make a panel, which is like
a modal construct, or separate from the main form, so I take it OWNER would
be the one?
BTW when the proc is finished, do both instances need panel.destroy
Cheers,
Alistair+

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to