I have a TStringGrid say StringGrid1 and one textbox say textbox1 on my delphi form. When I enter anything in textbox1, that comes in next row of the StringGrid1.
I want that the new enteries in StringGrid1 should come on top rather than on bottom. Which property should I change?
Best Answer
AFAIK There's no property you can tweak to insert a row in some position of a StringGrid.
But, you can always do a shift in code to make space in the grid for a new row.
Assuming you have a first row and columns of titles, you may code it as: