title: Insert column into string grid, delphi
body: <p>I have a string grid, from which i can delete columns. I defined a CustomStringGrid type that allows me to use DeleteColumn method. </p>
  
  <p>This is how it looks:</p>
  
  <pre><code>TCustomStringGrid = class(TStringGrid)
  
  [...]
  With tCustomStringGrid(mygrid) do
  DeleteColumn(col)
  end;
  </code></pre>
  
  <p>IS there something similar to add a column? I've tried InsertColumn but it doesn't seem to exist. I want to add a column at a particular position. In fact, if a user deletes a column i have an undo button which i want to reinsert the deleted column (i'm keeping the data in an array so i can recreate the column but i don't know how to insert one in a particular position).</p>
  
  <p>Thank you! </p>