procedure TXMXXLRForm.BizFormCloseQuery(Sender: TObject; var CanClose: Boolean);
begin
Inherited FormCloseQuery(Sender,canClose);
//-------*********上面的编译不通过
if canClose then
begin
if pageControl1.activePage=tsFile then
begin
if JBXXLR.TFJSCWD(dvFile.doc).isUnsave then
begin
dialogs.showMessage('附件未保存,请先保存/取消!');
canClose:=false;
exit;
end;
end;
end;
end;