主题:菜鸟提问:自定义的函数应声明在unit中什么位置?
TYPE
TMainForm=class(TForm)
.................
............
procedure Edit2KeyPress(Sender: TObject; var Key: Char);
procedure CheckGongHao(Sender: Tobject);.
p
rivate
{ Private declarations }
public
{ Public declarations }
end;
为何编译不通过?