Menu
Forums
New posts
WD::PT
What's new
New posts
New media
New media comments
Latest activity
Log in
Register
What's new
New posts
New media
New media comments
Latest activity
Menu
Log in
Register
Install the app
Install
加入WeDelphi::PT一起分享资源
Forums
What's new
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Latest activity
What's new
New posts
New media
New media comments
Latest activity
S
swish
posted the thread
[教程]QJSON 如何生成数组类型JSON数据
in
聚合阅读 | Feeds
.
目标样式:[{“a”:123}, {“b”:123}, {“c”:123}] 首先,我们来看它的层级,第一层是一个数组,第二层为一个对象,所以,使用 QJSON 生成时,也就是下面的形式了: 最终生成的结果就如上面一样。如果遇到需要转义中文字符的场 查看更多...
Jan 15, 2021
S
swish
posted the thread
[教程]VCL 中 TScrollBox 的一处 Bug 简单处理
in
聚合阅读 | Feeds
.
TScrollBox 如果在设计时,滚动条的位置滑有初始化到最开始的位置,或者不小心动了,可能就会存在特定的元素显示不出来的情况,此时,如果不考虑修改 VCL 源码,可以调用 ScrollInView 将最边缘的元素滚动到可视区,然后再设置对应滚动条的位置为 0...
Jan 12, 2021
S
swish
posted the thread
[分享]一种将 Delphi 组件属性信息保存到JSON的方法
in
聚合阅读 | Feeds
.
此代码支持 Delphi 2007+,使用 QJSON 做为序列化的支持库。你可以自己改为使用其它的 JSON库。 使用示例: 如上面的示例,由于写成了 class helper,所以保存到 Json 里,直接调用组件实例的 SaveToJson 就可以了,而从 Json...
Jan 5, 2021
Forums
What's new
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom