X
xiaoke26
Unregistered / Unconfirmed
GUEST, unregistred user!
我的一个窗口类这样定义 我还想加入check函数,可老是出现这样的错误:
[Error] Unit1.pas(69): Unsatisfied forward or external declaration: 'TForm1.check'
类的定义如下:
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, FileCtrl, Buttons;
type
TForm1 = class(TForm)
Bevel8: TBevel;
Panel1: TPanel;
Label1: TLabel;
Label2: TLabel;
Bevel1: TBevel;
Bevel2: TBevel;
Bevel3Bevel3: TBevel;
Bevel4: TBevel;
Bevel3: TBevel;
Bevel5: TBevel;
Bevel6: TBevel;
Bevel7: TBevel;
sFileEdit1: TEdit;
dFileEdit1: TEdit;
RadioButton1: TRadioButton;
RadioButton2: TRadioButton;
sFileEdit2: TEdit;
dFileEdit2: TEdit;
Bevel9: TBevel;
Bevel11: TBevel;
Bevel12: TBevel;
Bevel10: TBevel;
RadioButton3: TRadioButton;
sFileEdit3: TEdit;
dFileEdit3: TEdit;
sFileEdit4: TEdit;
dFileEdit4: TEdit;
sFileEdit6: TEdit;
sFileEdit5: TEdit;
dFileEdit5: TEdit;
dFileEdit6: TEdit;
sFileEdit7: TEdit;
dFileEdit7: TEdit;
sFileEdit8: TEdit;
dFileEdit8: TEdit;
sFileEdit9: TEdit;
dFileEdit9: TEdit;
sFileEdit10: TEdit;
dFileEdit10: TEdit;
RadioButton4: TRadioButton;
RadioButton5: TRadioButton;
RadioButton6: TRadioButton;
RadioButton7: TRadioButton;
RadioButton8: TRadioButton;
RadioButton9: TRadioButton;
RadioButton10: TRadioButton;
selectSourcFile: TBitBtn;
selectDestFile: TBitBtn;
startCopy: TBitBtn;
CheckBox1: TCheckBox;
OpenDialog1: TOpenDialog;
procedure selectSourcFileClick(Sender: TObject);
procedure selectDestFileClick(Sender: TObject);
//function checkPair(max : integer) : boolean;
private
{ Private declarations }
public
{ Public declarations }
procedure check(max: integer);/////////////////////////////就这一句
end;
谁能给我说说原因!!
[Error] Unit1.pas(69): Unsatisfied forward or external declaration: 'TForm1.check'
类的定义如下:
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, FileCtrl, Buttons;
type
TForm1 = class(TForm)
Bevel8: TBevel;
Panel1: TPanel;
Label1: TLabel;
Label2: TLabel;
Bevel1: TBevel;
Bevel2: TBevel;
Bevel3Bevel3: TBevel;
Bevel4: TBevel;
Bevel3: TBevel;
Bevel5: TBevel;
Bevel6: TBevel;
Bevel7: TBevel;
sFileEdit1: TEdit;
dFileEdit1: TEdit;
RadioButton1: TRadioButton;
RadioButton2: TRadioButton;
sFileEdit2: TEdit;
dFileEdit2: TEdit;
Bevel9: TBevel;
Bevel11: TBevel;
Bevel12: TBevel;
Bevel10: TBevel;
RadioButton3: TRadioButton;
sFileEdit3: TEdit;
dFileEdit3: TEdit;
sFileEdit4: TEdit;
dFileEdit4: TEdit;
sFileEdit6: TEdit;
sFileEdit5: TEdit;
dFileEdit5: TEdit;
dFileEdit6: TEdit;
sFileEdit7: TEdit;
dFileEdit7: TEdit;
sFileEdit8: TEdit;
dFileEdit8: TEdit;
sFileEdit9: TEdit;
dFileEdit9: TEdit;
sFileEdit10: TEdit;
dFileEdit10: TEdit;
RadioButton4: TRadioButton;
RadioButton5: TRadioButton;
RadioButton6: TRadioButton;
RadioButton7: TRadioButton;
RadioButton8: TRadioButton;
RadioButton9: TRadioButton;
RadioButton10: TRadioButton;
selectSourcFile: TBitBtn;
selectDestFile: TBitBtn;
startCopy: TBitBtn;
CheckBox1: TCheckBox;
OpenDialog1: TOpenDialog;
procedure selectSourcFileClick(Sender: TObject);
procedure selectDestFileClick(Sender: TObject);
//function checkPair(max : integer) : boolean;
private
{ Private declarations }
public
{ Public declarations }
procedure check(max: integer);/////////////////////////////就这一句
end;
谁能给我说说原因!!