sgdDisplay.RowCount := 1;
var OldRowCount: integer; OldRowCount:= sgdDisplay.RowCount; sgdDisplay.RowCount:= sgdDisplay.FixedRows; sgdDisplay.RowCount:= OldRowCount;
for (int xColIx= 0; xColIx < StringGrid->ColCount; xColIx++) { for (int xRowIx= 0; xRowIx < StringGrid->RowCount; xRowIx++) { StringGrid->Cells[xColIx][xRowIx]= ""; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)