将 系统空间\用户界面基础\界面库\系统接口\流转窗体代码
中的BizFormShow过程替换
procedure TFLOWOUTFORM.BizFormShow(Sender: TObject);
var
I: Integer;
lAllAsy: Boolean;
begin
Inherited;
SelectFlowOutUnitForm.Show;
SelectFlowOutUnitForm.Align := TAlign.alClient; // 把它移动到这里来,是为了解决98下的刷新问题
lAllAsy := FlowTasks.Count = 0;
for I := 0 to FlowTasks.Count - 1 do
begin
lAllAsy := FlowTasks[I].IsAsynchronous;
if not lAllAsy then
Break;
end;
if lAllAsy then
begin
RefreshFlowTaskNodes;
SetDefaultSelectedFlowTaskNode;
end
else
RefreshFlowTaskNodes;
{ if FlowTasks.Count = 0 then
SetDefaultSelectedFlowTaskNode
else
RefreshFlowTaskNodes;
}
SetDefaultCurSelectedFlowTaskNode;
SelectFlowOutUnitForm.RefreshFlowChartObjects;
end;