09 2011 档案
摘要:一、窗体的建立 在DELPHI中,我们通常使用Application.CreateForm(TForm2, Form2)和TForm.create来创建窗体,我们几乎无法区别这两种方法差异,更何况,我们更多的时候都是在使用TForm.create来生成子窗体。 不过,仔细观察VCL源码,你会发现,其实两者区别很大。procedureTApplication.CreateForm(InstanceClass:TComponentClass;varReference);varInstance:TComponent;beginInstance:=TComponent(InstanceClass.Ne
阅读全文