Posted by Sharon on April 20, 2007

I have the following procedure to clear the cells of a stringgrid.

procedure clear_grid;
var row,col:integer;
for row:=1 to 20 do
for col:=0 to 5 do

The procedure works fine, however, after clearing the grid and continuing to add data I want the new data to be added to the top of the grid i.e. cell 0,1. At the moment the data clears, and when I add new data it enters into the cells below those that have been cleared. Could anyone please help me?


Related articles


Follow Ups