5,931
社区成员




procedure TForm1.Button1Click(Sender: TObject);
var
NewObject:TdxFcObject;
NewConnection:TdxFcConnection;
begin
NewObject:=dxFlowChart1.CreateObject(5,5,25,25,fcsEllipse);
NewObject.Text:='first object';
NewObject:=dxFlowchart1.CreateObject(5,75,25,25,fcsEllipse);
NewObject.Text:='last object';
NewConnection:=dxFlowChart1.CreateConnection(dxflowchart1.Objects[0],dxflowchart1.Objects[1],12,2);
dxflowchart1.connections[0].ArrowDest.ArrowType:=fcaArrow;
dxflowchart1.connections[0].ArrowDest.Width:=1 * 5 + 5;//定义箭头
dxflowchart1.connections[0].ArrowDest.Height:=1 * 5 + 5;//定义箭头
end;