看FMX代码,发现有两种消息处理的实现方式,一种是用TMessageManager来实现自定义的消息,另外一种象TEdit中的实现,直接声明消息方法。 早前,看过文章说TMessageManager的用法,可用到的时候,又找不到,只好自己动手。 我的应用场景是这样: 当前的Frame弹出一个对话框F Read More
posted @ 2017-01-19 16:54 findumars Views(1495) Comments(0) Diggs(0)
原文在这里还是这个方法好用,简单!加上牧马人做的自动生成工具,更是简单。以下为原文,向波哥敬礼! 前面和音儿一起研究 Android 下启动画面的问题,虽然问题得到了解决,但是,总是感觉太麻烦,主要的问题: 1、需要手工去修改XML文件; 2、而且需要对系统本身做出修改; 3、方案还不够完善,需要较 Read More
posted @ 2017-01-19 16:52 findumars Views(3526) Comments(0) Diggs(0)
fmx 和 vcl 不一样, fmx 的阴影可以通过2D显示出来。 VCL 无标题栏窗口的阴影很麻烦 280425268 我也是用两个窗口做阴影,并重绘了非客户区,不过阴影是基础自TwinControl,没继承TFrom。用spy探测office 2013,发现他也是用了2个句柄window,off Read More
posted @ 2017-01-19 16:40 findumars Views(1258) Comments(0) Diggs(0)
Introduction to color gradients in Delphi FireMonkey. Video This video covers the basics of color gradients in Delphi FireMonkey This can be applied a Read More
posted @ 2017-01-19 16:11 findumars Views(590) Comments(0) Diggs(0)
Get and set the Z Order of controls at runtime in Delphi VCL. If you are looking for a FireMonkey solution see this post Delphi provides a limited API Read More
posted @ 2017-01-19 16:10 findumars Views(920) Comments(0) Diggs(0)