title: Delete row in StringGrid- Delphi
body: <p>I want to make something like that. I have a list in my StringGrid and i want to delete one row by selecting cell and then clicking the button. Then this list should show again in StringGrid without this row. The biggest problem i have with deleting row, i tried whis one procedure but it only deleted row in StringGrid, not in list, i think.</p>
  
  <pre><code>    procedure DeleteRow(Grid: TStringGrid; ARow: Integer);
  var
    i: Integer;
  begin
    for i := ARow to Grid.RowCount - 2 do
      Grid.Rows[i].Assign(Grid.Rows[i + 1]);
    Grid.RowCount := Grid.RowCount - 1;
  end;
  </code></pre>
  
  <p>Please someone for help. :)</p>