var controlArray :array of Tcheckbox;
begin
n:=30;
setlength(controlArray,30);
for i:=0 to 29 do
begin
controlArray:=Tcheckbox.create(Self);
controlArray.parent:=form1;
controlArray.onclick:=//要添加的事件
controlArray.setbounds( )//需要的top,left,width,height;
end;