QuickReport中的QRmemo中文字如何自动换行? 主要是哪几个属性要设? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Autosize:=False;AutoStretch:=True;WrapText:=True;設置這些屬性只對英文字有效﹐如需對中文字有效可增加一個Memo控件﹐然后調用以下函數procedure lineBreakQRMemo(text: string; const textMemo: TMemo; const QRMemo: TQRMemo);var i: integer;begin textMemo.Width := QRMemo.Width; textMemo.Height := QRMemo.Height; textMemo.Font.Name := QRMemo.Font.Name; textMemo.Font.Size := QRMemo.Font.Size; textMemo.Text := text; QRMemo.Lines.Clear; for i := 0 to textMemo.Lines.Count - 1 do QRMemo.Lines.Add(textMemo.Lines.Strings[i]);end; 登陆界面问题,急!!!!! 如何把编码iso-8859-1的转换为gb2312? 把两个MP3混音成一个Mp3问题! quickreport怎样横向打印呢? 请问现在企业开发,用的是那个版本的?6.0? 求购SCANSOFT公司的最新Capture Development System带亚洲语言OCR. 请问操作线程的函数都有什么? 高分求购Delphi的MSMQ例程。或者能提供这方面的资料线索(要中文的) 再问一个简单的问题,只要回答就给分! 关于AnimateWindow的用法。 请问哪有不会过期的Formular one 6.1正式版下载啊 求助!
AutoStretch:=True;
WrapText:=True;設置這些屬性只對英文字有效﹐如需對中文字有效可增加一個Memo控件﹐然后調用以下函數procedure lineBreakQRMemo(text: string; const textMemo: TMemo; const QRMemo: TQRMemo);
var
i: integer;
begin
textMemo.Width := QRMemo.Width;
textMemo.Height := QRMemo.Height;
textMemo.Font.Name := QRMemo.Font.Name;
textMemo.Font.Size := QRMemo.Font.Size;
textMemo.Text := text;
QRMemo.Lines.Clear;
for i := 0 to textMemo.Lines.Count - 1 do
QRMemo.Lines.Add(textMemo.Lines.Strings[i]);
end;