|
楼主 |
发表于 2007-6-6 16:06:27
|
显示全部楼层
BizFormShow 的事件里阿
procedure TMainForm.GetSuccedentUnits();
var
I: Integer;
lUnits: TList;
begin
lUnits := TList.Create;
try
FlowDDLR.FlowControl.CurrentProcUnit.GetSuccedentUnits(lUnits,
[TProcUnitKind.ukActivity], [TProcUnitKind.ukActivity]); // ukActivity表示活动环节
AComboBox.Items.Add('下一活动环节列表');
for I := 0 to lUnits.Count - 1 do
begin
AComboBox.Items.Add(TProcUnit(lUnits[I]).ID); //环节列表中的环节ID
AComboBox.Items.Add(TProcUnit(lUnits[I]).DisplayName);
end;
finally
lUnits.Free;
end;
AComboBox.ItemIndex:=0;
end;
这个也用过也不成 |
|