|

楼主 |
发表于 2007-9-24 16:01:01
|
显示全部楼层
现在的代码是
else if TreeView1.Selected.Text = '方案审核管理' then
begin
if not Assigned(EditForm) then
begin
if DB1_FASHGL.DataSet.FieldByName('TRJS_LZZT').AsInteger = 0 then
begin
//ShowTab;
SUrl := 'Biz:\SJZPXZXXTGLXXXT\JSFASHGL_FUNC.FUNC';
lFunc := SystemCore.TSYSTEMCORE.FuncManager.RunFunc(Context.Parent, '', SUrl, '', nil, False);
lFunc1 := lFunc;
//lFunc.MainForm.Parent := TabSheet;
end
else
Forms.Application.MessageBox('方案审核已经提交!', '注意',
Borland.Delphi.Windows.MB_ICONINFORMATION + Borland.Delphi.Windows.MB_OK);
//lFunc.MainForm.Parent := TabSheet;
end;
如果用 红字部分 报错
不用 打开不了第二次 |
|