procedure TForm1.Button1Click(Sender: TObject);
var
i:integer;
xl:array of Tlabel;
begin
i:=0;
while i<100 do
begin
xl[i]:=Tlabel.create(self);
xl[i].Parent := self;
xl[i].Left :=i+13;
xl[i].Height :=i+4;
xl[i].Caption :=inttostr(i);
i:=i+1;
end
end;
var
i:integer;
xl:array of Tlabel;
begin
i:=0;
while i<100 do
begin
xl[i]:=Tlabel.create(self);
xl[i].Parent := self;
xl[i].Left :=i+13;
xl[i].Height :=i+4;
xl[i].Caption :=inttostr(i);
i:=i+1;
end
end;
解决方案 »
- About FastReport 下载地址,通知立即有分!
- [求助]如何知道一个程序所使用的实际空间大小呢?
- [分享]DBGRIDEH 组件在Borland开发工具中应用全攻略
- delphi菜鸟问:最近新建一个工程,运行后,关掉时速度很慢?why?
- 如何将一个*.db数据库文件中的内容写在*.txt文件中?
- 刚才结帖时发现csdn又添新功能了,现在结帖方便多了,支持.......散分
- 有什么好的安装制作工具,目标程序是需要bde支持的delphi5程序
- 这样连接SQL Server2000?
- 求fast report vcl 5.0 full scouce 源代码
- 请问delphi6.0升级包什么地方有下载的,Borland网站上的要密码?
- FastReport中Memo跨页显示问题被截短问题
- 请问各位怎么样定义一个不定长的结构体:
var
i:integer;
xl:array[1..5] of Tlabel;
begin
i:=1;
while i<=5 do
begin
xl[i]:=Tlabel.create(self);
xl[i].Parent := self;
xl[i].Left :=10*i+10;
xl[i].Height :=10*i+10;
xl[i].top :=10*i+10;
xl[i].Caption :=inttostr(i);
i:=i+1;
end
end;