Delphi 12 Athens 发布了!

      

        官方安装包 ☞ https://altd.embarcadero.com/download/radstudio/12.0/RADStudio_12_0_4915718.iso  

       安装辅助工具、控件可以戳这里 :Delphi 12 资源

        RAD Stuido 12 Athens ,这次更新的细节还是比较多的,但主要还是多端(iOS、Android、macOS、Windows11)的支持优化,以及对C++支持的改善,如集成了 Visual Assist 👍。

        完整的新特性细节看这里 ☞  RAD Studio 12的新功能细节

        

        对 Delphi 来说,主要有三点:

  • FireMonkey 支持 SKIA

        FireMonkey项目中启用很简单,右键点击 "Enable Skia" 即可:

FireMonkey 项目启用 Skia

        在设计期,展现的就是 Skia 绘制的效果。

        有了Skia,FireMonkey的UI质量、效率将得到极大提升!

  • 多行字符串字面量

简单说就是支持跨行定义字符串变量、常量,

看一看具体的书写形式就一目了然了: 

再来看看规则:

  • 三个单引号 (''')和换行符一起作为多行字符串的首尾分隔符。
  • 做为多行字符的头部,三个单引号后面只能接换行符,不能有其他字符
  • 做为多行字符的尾部,三个单引号前面只能有换行符,不能有其他字符。
  • 它可以包含多行源代码文件(没有限制)

首尾都添加了换行符,并携带了编辑器书写的换行符:

首尾、文本中间都有换行符

那么,换行符是固定的 #13#10 吗?可以通过 TEXTBLOCK 开关定义的:

{$TEXTBLOCK CR}

 可取值:NATIVE/CR/LF/CRLF

如设置换行符为 CR,即回车:

        这对于具有特定格式的字符串来说非常好,比如说内置JSON,XML,SQL,甚至HTML的字符串更为直观。唯一的缺憾是前后必然都有回车换行符,那么,[''']前后可以去掉回车,让字符串直接和其位于同一行吗?答案是不行。

  • 超长字符串变量

600+ 个字符长的字符串文字

  • 其他的细节改进:

    • 更完善的 Windows API 定义;
    • RTL,VCL一如既往的做了完善和优化;
    • 重新设计了更为现代化的MDI和选项卡式用户界面;
    • VCL STYLE 提供设计时支持,即在IDE的设计时修改样式能立即看到效果;
    • 为FireMonkey移动应用程序提供了新的移动生物特征认证组件(如 FaceID);

        另外,IDE的品质终于上了一层😘。可以说在RTL,IDE,Compiler,Platform几个方面都不同程度的进行了优化。比如启动、退出速度都有了提升,更干脆利索。代码提示、跳转的响应速度也变快了。提供更高的DPI支持,如完全支持最新的4k+高分屏。提供了更清晰的图标和字体。

        但,关机时 DelphiLSP 的异常还有,只是不会疯狂不断地弹出了。

        如果已经用上了Delphi 10 之后的版本,还是很值得升级的。总体来说:更快,更好!

参考

What's New in RAD Studio 12 Athens - Embarcadero

[Yukon Beta Blog] Delphi Language: Modernizing String Literals (embarcadero.com)

Marco Cantu | Embarcadero RAD Studio, Delphi, & C++Builder Blogs

Delphi新一代绘制引擎Google Skia (qq.com)

  • 12
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 8
    评论
SUIPack is a suite of real WYSIWYG VCL skin components for Delphi & C++Builder. It provides you the ability to create professionally-UI-designed skin and implementations for your applications. Besides the alternative for standard controls, SUIPack provides more additional controls(E.g. non-rectangular forms, MSN-style popup window, etc.). You will never spend many time on programming skin support. SUIPack provides more than 60 controls. Place them on a form, then you can see the skinned appearance immediately even at design time. SUIPack has 5 built-in skins and it supports to load outside skin files. It's real What You See Is What You Get! SUIPack fully supports Sunisoft Skin Solutions v2 now. It means that you can use all skins of Skin Solutions v2. The professionally-UI-designed skins are mostly designed by our UI artists. Please note, we not only provide the UI controls, but also UI design! You also can create your own skins with the brand new SkinBuilder tool. Key features ------------- * 60+ components * 5 built-in skins * Dozens of professionally-UI-designed official skins from UI artists and a lot of third-party skins * Supports to build the skin files into the EXE file * What you see(design-time) is what you get(run-time) * Provides stable converting tool to transfer your existing project smoothly * Provides SkinBuilder tool to create your own skins, with it which supports to load VisualStyle(*.msstyles) files, you can own thousands of skins now! * Supports to create non-rectangular forms and controls * Support MSN-Style popup window * MDI forms supported * DB-Aware components with theme's support * Without requiring any DLL or OCX With SUIPack We have over 2,000 customers who are using Sunisoft Skin Solutions v2 around world. The products below are developed with SUIPack by some of our customers.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 8
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

0x0007

可不可奖励我吃只毛嘴鸡 馋😋

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值