2010年11月8日

创建动态组件的要点

摘要: 1、多用数组来存储动态组件,如TButtonArray:Array[1..10] of TButton; ButtonArray:TButtonArray;2、要使得组件能正常显示,最关键的是制定组件的parent属性,如:ButtonArray[index].parent:=self;3、其次要设定组件的大小:ButtonArray[index].width:=100; ButtonArray[... 阅读全文

posted @ 2010-11-08 23:23 Delphi7456 阅读(290) 评论(0) 推荐(0) 编辑

导航