惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - Franky
T
Tailwind CSS Blog
Microsoft Azure Blog
Microsoft Azure Blog
The Cloudflare Blog
博客园 - 叶小钗
N
Netflix TechBlog - Medium
罗磊的独立博客
量子位
MyScale Blog
MyScale Blog
A
About on SuperTechFans
Blog — PlanetScale
Blog — PlanetScale
V
Visual Studio Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
GbyAI
GbyAI
B
Blog
腾讯CDC
爱范儿
爱范儿
Recent Announcements
Recent Announcements
有赞技术团队
有赞技术团队
F
Fortinet All Blogs
雷峰网
雷峰网
G
Google Developers Blog
Google DeepMind News
Google DeepMind News

博客园 - 秋·风

用lazarus编写的linux deb和windows打包工具源码已上传 修复lazarus datetimepicker控件在linux下拉不能选择日期的bug 用fpc trunk编译lazarus控件找不到TTimeZone 在银河麒麟v10操作系统应用程序执行遇到“权限不够”的提示 修复pl_cindy的Panel系列控件在gtk3出错的bug 龙芯 3A4000工具链的编译(mingw64) lazarus 4.8及之前的版本QT5中文输入多字词组时只输入前2个中文 修正lazarus在GTK3下的Synedit只能输入2个中文字符的Bug lazarus trunk linux从2026.07.02开始,LCLWidgetType默认使用gtk3,怎样改回gtk2 【aarch64-win64】DonAlfredo终于修复fpc将TSmallPoint赋值为一个负数,并将TSmallPoint赋值给TPoint时得到一个655xx的数值的bug lazarus编译时提示链接出错的处理方法 mORMot2两个BUG 【aarch64-win64】发现fpc aarch64-win64 将TSmallPoint赋值为一个负数,并赋值给TPoint时得到一个655xx的数值的bug 修复aarch64 win64下lazarus不弹出SourceTabPopUpMenu fpc aarch64-win64版编译应用时遇到一个奇怪的bug 在windows 11 on arm64系统编译lazarus出错的处理方法 修复TDBMemo只读不能使用Ctrl+C复制文字的Bug freepascal打补丁后已支持windows 11 on arm64(lazarus aarch64 windows版也可以运行了) 查看libc.so.6的版本号 Lazarus移动版启动程序 fpc 3.2.2交叉编译i386-linux链接出错 lazarus鸿蒙开发13:使用鸿蒙原生API画图--lazarus侧关键代码 lazarus鸿蒙开发12:使用鸿蒙原生API画图--鸿蒙侧关键代码 lazarus鸿蒙开发11:使用鸿蒙原生接口画图 lazarus鸿蒙开发10:lazarus一键编译、打包助手 lazarus鸿蒙开发9:使用命令行编译DevEco Studio应用 lazarus鸿蒙开发8:在DevEco Studio的日志窗口显示日志信息 lazarus鸿蒙开发7:在 Windows 上为 OpenHarmony (LoongArch64) 编译 Qt 5.15.12 SDK 指南 lazarus鸿蒙开发6:鸿蒙project配置 lazarus鸿蒙开发5:编译ohos_hap_project
fastreport在windows11(lazarus)报表设计时出现的问题
秋·风 · 2026-03-31 · via 博客园 - 秋·风

fastreport 2023之后的版本在windows11(lazarus 4.4/4.6)报表设计时,如果文本框没完整显示文本框内容,鼠标在上面停放一会,会弹出以下错误信息(Position range overflow in .SendMoveSizeMessages: Left=19867780, Top=697,left的值超级大):

92466113e2e696d6193b800d60237454

经排查发现是fr使用自定义hint引起的,这次修复只是治标,没从问题源头修复。

打开FastReport\FPC\Sources\frxDesgnWorkspace.pas,找到procedure TfrxDesignerWorkspace.RealHintShow(var Msg: TCMHintShow),然后按红色代码修改:

procedure TfrxDesignerWorkspace.RealHintShow(var Msg: TCMHintShow);
var
  Header, PropText: String;
  HMemoView: TfrxCustomMemoView;
begin
  if not (FLastObjectOver is TfrxCustomMemoView) then Exit;
  HMemoView := TfrxCustomMemoView(FLastObjectOver);
  if HMemoView.HasOutboundContent then
  begin
    Header := frxResources.Get('obText');
    PropText := HMemoView.Text;

    Msg.HintInfo.HintStr :={$ifdef fpc} Header + LineEnding + {$endif}PropText;
    {$ifndef fpc}Msg.HintInfo.HintWindowClass := TDesgnHintWindow;
    Msg.HintInfo.HintData := TDesgnHintData.Create('', Header, False, HMemoView);{$endif}
    Msg.HintInfo.HideTimeout := MaxInt;
  end;
end;

修改后重新编译就可以正常显示hint:

QQ_1774918771969
linux不报错,但显示的hint内容不完整:
image
修改后能完整显示[Customers."Contact"]

image

如果你有更好的修改方法,希望能和我分享,谢谢!