Frequently Asked Component Specific Questions

Options

Display all FAQ items

Search FAQ items:


Displaying items 1 to 1 of 1, page 1 of 1

<< previous next >>

TMS Diagram Studio
Programmatically adding a line between 2 diagram block links

MyLine := TDiagramLine.Create(Self);
with MyLine do
begin
  Name := 'MyLineName';
  Diagram := atDiagram1;
  //link start point to someblock
  SourceLinkPoint.AnchorLink := SomeBlock.LinkPoints[0]; 
  // link end point to anotherblock
  TargetLinkPoint.AnchorLink := AnotherBlock.LinkPoints[1]; 
end;