Are you sure you haven't installed an IDE expert plugin or something?
Doesn't work on D7 Pro that I have here....

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of vss
Sent: Friday, 28 May 2004 10:13 a.m.
To: [EMAIL PROTECTED]
Subject: [DUG] A cool tool

Hi all. After using Delphi for, oh 9 years, I found a cool tool.
If you right click on a component on a form, then select "compnents to 
Code" it will generate the code needed to create that control in code. 
AND, if the control, say a panel, had child controls it generates the 
code for them too. I am not sure how long that this has been in 
delphi...I just discovered it the other day :-)

This is code generate from a button on a form 

Cheers, Jeremy


var
  Button2: TButton;

  Button2 := TButton.Create(Self);
  with Button2 do
  begin
    Name := 'Button2';
    Parent := Self;
    Left := 8;
    Top := 356;
    Width := 75;
    Height := 25;
    Caption := 'Button2';
    TabOrder := 3;
    Visible := False;
    WordWrap := True;
    OnClick := Button2Click;
  end;

_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to