
21.03.2011, 15:19
|
Прохожий
|
|
Регистрация: 08.12.2009
Сообщения: 21
Репутация: 10
|
|
Ошибка при запуске процедуры
Код:
procedure R(x:integer);
var j:integer;
begin
for j:=1 to x do
begin
TCheckBox.Create(form1).Name :='CheckBox' + IntToStr(j);
with TCheckBox('CheckBox' + IntToStr(j)) do begin
Left :=10;
Top :=j*15;
Parent := form1;
Caption :='CheckBox' + IntToStr(j);
end;
end;
end;
Админ: Не забываем про теги!

|