hi, how does one create treenodes during runtime
I know for buttons you can go

Procedure Button1OnClick(Sender : TObject);
var
   i : integer;
   Button : TButton;
begin
  Button := TButton.Create(self)
  inc(i);
  Button.Name := 'Button'+inttostr(i);
  Button.Parent := Form1;
end;

something like that.

but how does one do it for treenodes?

_________________________________________________________________
Gaming galore at  http://xtramsn.co.nz/gaming !

---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to