我在类的private中加入一个过程定义如下
private
str:string;
procedure csq(s:string); //这一行是我加的
但在编译时出错:
[Error] MDIParent.pas(51): Unsatisfied forward or external declaration: 'TFm_MDIParaent.csq'
难道不能在类中加自定义过程?
private
str:string;
procedure csq(s:string); //这一行是我加的
但在编译时出错:
[Error] MDIParent.pas(51): Unsatisfied forward or external declaration: 'TFm_MDIParaent.csq'
难道不能在类中加自定义过程?
procedure TFm_MDIParaent.csq(s:String);
begin
end;
procedure TFm_MDIParaent.csq(s:String);
begin
end;
就可以了