QReport的哪个控件能够显示过长字符串的时候自动折行?QRMemo不行啊!! rt 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 autosize已经设成false还是不行啊! 利用Memo控件可以实现你的要求:调用下面函数就可以啦............procedure lineBreakQRMemo(text: string; textMemo: TMemo; 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; for i := 0 to textMemo.Lines.Count - 1 do begin QRMemo.Lines.Add(textMemo.Lines.Strings[i]); end;end; 看看我的办法是不是能帮助你用QR 里的有一个QRE? 的控件我记不住了 我是这样用的我的数据表里有一个字段A CHAR 40 在控件的一个属性里这样写 COPY(A,1,20)+‘ ’+COPY(A,21,40) AUTOSIZE 设成 TRUE 我现在是这样用的 我也知道这个办法不好但是我也没有找到一个更好的东西 【请教】如何用DELPHI开发USB驱动程序? oracle数值变量的插入问题 让人精神分裂! 使用过TmxOutlookBarPro控件的人员提问?请见问题 Tchart有关:如何在chart中画出的曲线某个点上标记出该点的值? 如何再次调用窗口? 有誰可以告诉我什么叫RAVE报表吗? WM_MouseMove的问题.急,在线等 如何在delphi中禁用flash中的右键菜单?? 请问udp服务端是否可以对同时接受到的多个消息进行排队处理? 为什么没见服务器名字? 二个数据库问题? 解决的好有高分!!!
调用下面函数就可以啦............procedure lineBreakQRMemo(text: string; textMemo: TMemo; 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;
for i := 0 to textMemo.Lines.Count - 1 do
begin
QRMemo.Lines.Add(textMemo.Lines.Strings[i]);
end;
end;
用QR 里的有一个QRE? 的控件我记不住了 我是这样用的
我的数据表里有一个字段A CHAR 40
在控件的一个属性里这样写 COPY(A,1,20)+‘ ’+COPY(A,21,40)
AUTOSIZE 设成 TRUE
我现在是这样用的 我也知道这个办法不好但是我也没有找到一个更好的
东西