在Tstringgrid.ondrawcell事件中: DrawText(StringGrid1.Canvas.Handle,pchar(StringGrid1.Cells[Acol,Arow]),Length(StringGrid1.Cells[Acol,Arow]),Rect,DT_WORDBREAK or DT_LEFT); 可以实现文字换行!此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/68033.html