CnPack Forum


 
Subject: CnAAScrollText自动换行的BUG
风铃夜思雨
新警察
Rank: 1



UID 20253
Digest Posts 0
Credits 4
Posts 1
点点分 4
Reading Access 10
Registered 2007-7-16
Status Offline
Post at 2007-7-16 12:29  Profile | Blog | P.M. 
CnAAScrollText自动换行的BUG

使用以下代码,让文本自动换行单列显示,发现最后的两个字不会自动换行
CnAAText同样有此问题
   With CnAAScrollText1 Do
  Begin
    Width := 32;  //一个字的宽度
    Text.Font.Name := '楷体_GB2312';
    Text.Font.Height := -32;
    Text.Font.Size := 24;
    Text.RowPitch := 0;
    Text.Font.Color := clFuchsia;
    ParentEffect.ParentColor := true;
    Text.Lines.Text := '平滑特效字体';
    Text.WordWrap := True; //启动自动换行
    Active := true;
  End;

请求解决

[ 本帖最后由 风铃夜思雨 于 2007-7-16 12:34 编辑 ]
Top
 




All times are GMT++8, the time now is 2024-5-7 14:13

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

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