azrael_11 0 Posted August 6, 2019 (edited) Try to add columns to Tstringgrid at run time with the code below var vStringColumn: TStringColumn; for vi := 0 to 15 do begin csCart.main.Grid.InsertObject(vi, TStringColumn.Create(vStringColumn)); ... end; But i get abstract error ... What i am doing wrong? I use Delphi 10.3.2 Edited August 6, 2019 by azrael_11 Share this post Link to post
azrael_11 0 Posted August 6, 2019 Ok i found it the right one is csCart.main.Grid.InsertObject(vi, TStringColumn.Create(csCart.main.Grid)); Share this post Link to post