DelphiAaron
Programmer
something so simple i cant do.
how do i free all components created at runtime ?
this gives a list index out of bounds error if theres more than 1 control.
var i:integer;
begin
for i:= 0 to ScrollBox1.ControlCount -1 do
ScrollBox1.Controls.free;
end;
Aaron Taylor
John Mutch Electronics
how do i free all components created at runtime ?
this gives a list index out of bounds error if theres more than 1 control.
var i:integer;
begin
for i:= 0 to ScrollBox1.ControlCount -1 do
ScrollBox1.Controls.free;
end;
Aaron Taylor
John Mutch Electronics