Delphi程序,解释下着程序的意思
typeTfwTypeEdit=class(TBase_Form)propertyAForm:TFormClassreadFAFormwriteFAForm;public...
type
TfwTypeEdit = class(TBase_Form)
property AForm:TFormClass read FAForm write FAForm;
public
FormName:TForm;
FormCaption:string;
procedure TfwType.BtnNewClick(Sender: TObject);
begin
AForm:=TfwTypeEdit;
FormName:=fwTypeEdit;
FormCaption:='客户资料(修改)';
inherited;
end; 展开
TfwTypeEdit = class(TBase_Form)
property AForm:TFormClass read FAForm write FAForm;
public
FormName:TForm;
FormCaption:string;
procedure TfwType.BtnNewClick(Sender: TObject);
begin
AForm:=TfwTypeEdit;
FormName:=fwTypeEdit;
FormCaption:='客户资料(修改)';
inherited;
end; 展开
2个回答
展开全部
type
TfwTypeEdit = class(TBase_Form)
property AForm:TFormClass read FAForm write FAForm;
public
FormName:TForm;
FormCaption:string;
procedure TfwType.BtnNewClick(Sender: TObject); //按钮点击时触发
begin
AForm:=TfwTypeEdit;
FormName:=fwTypeEdit;
FormCaption:='客户资料(修改)'; //FormCaption的值为:客户资料(修改)
inherited; //继承父类
end;
//代码真的太不规范了,看都看不懂!
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询