Board logo

Subject: StringGird的onDrawCell写代码后,实现了自动换行,但是出现叠影,怎么办? [Print This Page]

Author: lanyueye    Time: 2010-5-31 18:58     Subject: StringGird的onDrawCell写代码后,实现了自动换行,但是出现叠影,怎么办?

StringGird的onDrawCell写代码
  DrawText(StringGrid1.Canvas.Handle,
    pchar(StringGrid1.Cells[ACol,Arow]),
    Length(StringGrid1.Cells[ACol,Arow]),
    Rect,DT_WORDBREAK or DT_LEFT);

实现自动换行了,但是出现叠影,怎么解决呀!




Welcome to CnPack Forum (http://bbs.cnpack.org/) Powered by Discuz! 5.0.0