Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Matze,
2. Mär 2004
Achso :angle2:
Vielleicht geht's so:
for i:=1 to b do
with TImage(FindComponent('Wolke'+IntToStr(i))) do
begin
Left := Left + 1;
end;
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Matze,
2. Mär 2004
Ich weiß, ehrlich gesagt, nicht, ob man das so machen kann:
Wolke.Left:=Wolke+1;
Es kann sein, dass du FindComponent benutzen musst.
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Matze,
2. Mär 2004
ini:=TIniFile.Create('temp.ini');
Das geht schonmal nicht.
Du kannst nicht jedesmal diese Ini erstellen, ohne sie wieder freizugeben.
Entweder, du erstellst sie einmal (OnCreate oder so) und gibst sie im OnClose/OnDestroy etc. wieder frei mittels:
ini.Free;