在StringGrid的OnDrawCell事件中:procedure TForm1.StringGrid1DrawCell(Sender: TObject; ACol,
  ARow: Integer; Rect: TRect; State: TGridDrawState);
var
  S:string;
  R:TRect;
begin
  S:=StringGrid1.Cells[ACol, ARow];
  R:=Rect;
  with StringGrid1 do
    DrawText(Canvas.handle,PChar(S),-1,R,DT_WORDBREAK); //自动按单词换行
end;