procedure PCloseForm(IntIsUpdate: Integer;FormClass: TForm);
var
IntRtn: Integer;
begin
if IntIsUpdate<>3 then
begin
IntRtn := Application.MessageBox('信息已修改,是否保存?','提示信息',MB_YESNOCANCEL);
if IntRtn=6 then
begin
FormClass.SpBtn_Save.Click;//这里的用法不对
FormClass.close;
end;
if IntRtn=7 then
FormClass.close;
if IntRtn=2 then
abort;
end
else
FormClass.close;
FormClass.SpBtn_Save.Click;//这里的用法不对
各位指教一下如何动态调用窗体
var
IntRtn: Integer;
begin
if IntIsUpdate<>3 then
begin
IntRtn := Application.MessageBox('信息已修改,是否保存?','提示信息',MB_YESNOCANCEL);
if IntRtn=6 then
begin
FormClass.SpBtn_Save.Click;//这里的用法不对
FormClass.close;
end;
if IntRtn=7 then
FormClass.close;
if IntRtn=2 then
abort;
end
else
FormClass.close;
FormClass.SpBtn_Save.Click;//这里的用法不对
各位指教一下如何动态调用窗体
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货