Skip to main content

TdxCustomFlowChart.SelectedConnections, TdxCustomFlowChart.SelectedConnectionCount, TdxCustomFlowChart.DeleteConnection example

The following code example shows how to delete selected connections at runtime:

procedure MyForm.Button1Click(Sender : TObject)
var
 I : Integer;
begin
  for I := dxFlowChart1.SelectedConnectionCount-1 downto 0 do
    dxFlowChart1.DeleteConnection(dxFlowChart1.SelectedConnections[I]);
end;