StringGrid->Parent = NULL;
delete StringGrid;
StringGrid = new TStringGrid(this);
StringGrid->Parent = Form1;