P
pokly
Unregistered / Unconfirmed
GUEST, unregistred user!
var<br> S: String;<br> ARect: TRect;<br>begin<br> S := '建议围绕一个议题提问以便专家回答您';<br> ARect := Rect(10, 10, 110, 110);<br> DrawText(Canvas.Handle, PChar(S), Length(S), ARect,<br> DT_EXPANDTABS or DT_WORDBREAK or DT_LEFT);<br>end;<br>上述能实现换行.<br>如果用S:='1231321654678971316546656';<br>就不能换行了.是为什么?用法有错吗?