Z Order of Controls in Delphi VCL】的更多相关文章

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 for the Z order of controls.You can bring a control to the front or send it to the back … that is a…
Get and set the Z Order of controls at runtime in Delphi FireMonkey. This is a follow on to my earlier post where I provided a VCL solution.Now Ive created a free FireMonkey unit that has the same get and set routines as the VCL solution.  The full s…
自定义经纬度索引(非RTree.Morton Code[z order curve].Geohash的方式) Custom Indexing for Latitude-Longitude Data 网络上有一些经纬度索引的文章,讨论的方法是用Geohash.RTree.Z-Order Curve(morton Code)等算法来将经纬度由二维变为一维的索引. 这篇文章介绍一种使用二维数据索引的方式来创建经纬度索引.前半部分讨论一种自定义的.使用二维数组的方式将经纬度变为一维数据,来加快索引. 文…
The Z order of a window indicates the window's position in a stack of overlapping windows. This window stack is oriented along an imaginary axis, the z-axis, extending outward from the screen. The window at the top of the Z order overlaps all other w…
1.VCL 概貌 先看一下VCL类图的主要分支,如图4.1所示.在图中可以看到,TObject是VCL的祖先类,这也是Object Pascal语言所规定的.但实际上,TObject以及TObject声明所在的system.pas整个单元,包括在“编译器魔法”话题中提到的_ClassCreate等函数,都是编译器内置支持的.因此,无法修改.删除system.pas中的任何东西,也无法将system.pas加入你的project,否则会得到“Identifier redeclared ‘syste…
当我们在扩展一个 vcl 组件功能的时候,既想保留IDE中能拖动大小与直接设置属性的功能,又想减少写创建与释放代码和安装扩展后新组件的麻烦,那么本文中的方法,就非常实用了. 以给TStringGrid的单元格加上颜色功能为例,先看如何调用: unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.C…
今天在看QT对象内存管理的一篇文章时:http://blog.csdn.net/dbzhang800/article/details/6300025想到了一个问题:就是QT类库体系结构与Delphi类库体系结构的对比问题.从它们都有parent属性,而且都可以管理子控件的内存释放,就可以猜测两者的体系结构十分相似.以下是我的过程,就把它当自己对Qobject和QWidget的一个熟悉过程吧. ----------------------------------------------------…
VCL里面的的实现 program ZhouFamily; uses Vcl.Forms, Winapi.Windows, FrmZhouFamilyMainU in 'FrmZhouFamilyMainU.pas' {FrmZhouFamilyMain} , SplashFormU in 'SplashFormU.pas' {SplashForm} , DmU in 'DmU.pas' {DM: TDataModule}; var Timestart, timeend: dword; begi…
(1)DataSource属性    该属性用于连接要编辑数据的主表数据源(2)DataField属性    该属性用于指定要编辑的数据字段名(3)ListSource属性    .    该属性用于提供连接数据编码的从表数据源(4)KeyField属性    该属性用于指定数据编码从表的关键字,一般为数据编码字段(5)ListField属性    该属性用于选择数据表中要在列表框中显示的字段名称通过上述5个属性的设置,就能用DBLookupComboBox组件的下拉列表框录人所需数据…