我用一个bitbtn控件.我想单几他调用另一个from
怎么实现. 另一个from叫aboutfrom

解决方案 »

  1.   

    unit Unit1;interfaceuses
      Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
      Dialogs, StdCtrls;type
      TForm1 = class(TForm)
        Button1: TButton;
        procedure FormCreate(Sender: TObject);
        procedure Button1Click(Sender: TObject);
      private
        { Private declarations }
      public
        { Public declarations }
      end;var
      Form1: TForm1;implementation
    uses unit2;{$R *.dfm}procedure TForm1.FormCreate(Sender: TObject);
    beginend;procedure TForm1.Button1Click(Sender: TObject);
    begin
    form2.Show ;end;end.
      

  2.   

    procedure TMainfrom.BitBtn5Click(Sender: TObject);
    begin
    aboutform.Show ;
    end;
    这样就能实现了!!谢谢.