CnPack Forum


 
Subject: StringGird的onDrawCell写代码后,实现了自动换行,但是出现叠影,怎么办?
lanyueye
新警察
Rank: 1



UID 48327
Digest Posts 0
Credits 14
Posts 4
点点分 14
Reading Access 10
Registered 2010-5-31
Status Offline
Post at 2010-5-31 18:58  Profile | Blog | P.M. 
StringGird的onDrawCell写代码后,实现了自动换行,但是出现叠影,怎么办?

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

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




All times are GMT++8, the time now is 2024-11-23 00:31

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.008825 second(s), 7 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP