(Moderator)
Registriert seit: 9. Dez 2005
Ort: Heilbronn
39.861 Beiträge
Delphi 11 Alexandria
|
Re: How to create Eg. Ten instaces of the same form?
14. Jul 2006, 18:42
Delphi-Quellcode:
for i := 1 to 10 do
with Tform1.Create( self) do
begin
Name := 'form1_'+IntToStr( i);
...
end;
Or even better store the Instances into an array.
Markus Kinzler
|