Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
procedure TfrmDrw.btnClearGridClick(Sender: TObject);
var
i: Integer;
slTemp:TStringList;
begin
slTemp := TStringList.Create;
try
slTemp.Assign( StringGrid1.Rows[0] );
for i := 0 to StringGrid1.ColCount do
StringGrid1.Cols[i].Clear;
StringGrid1.Rows[0].Assign( slTemp );
finally
slTemp.Free;
end;
end;
procedure TfrmDrw.btnClearGridClick(Sender: TObject);
var
i: Integer;
begin
for i := StringGrid1.FixedRows to StringGrid1.RowCount do
StringGrid1.Rows[i].Clear;
end;