title: Add rows to StringGrid with variables as cell data?
body: <p>I have a form with two TEdit components. On another form, I would like a row to be added to the TStringGrid with the data from the two TEdits. How do I do this?</p>
  
  <p>This is what I have so far:</p>
  
  <pre><code>procedure TSecondForm.StartButtonClick(Sender: TObject);
  begin
    string1 := Edit1.Text;
    string2 := Edit2.Text;
  
    MainForm.StringGrid1.RowCount := MainForm.StringGrid1.RowCount + 1; // this adds the rows, but I don't know how to make it so that the two variables are inputed into two seperate cells
  end;                      
  </code></pre>