Thema: Array help

Einzelnen Beitrag anzeigen

Benutzerbild von Binärbaum
Binärbaum

Registriert seit: 19. Jan 2005
Ort: Elstra
764 Beiträge
 
Delphi 7 Enterprise
 
#6

Re: Array help

  Alt 4. Mär 2005, 10:19
There is still another way to solve this: create the Edits (or Labels or whatever) dynamically:
Delphi-Quellcode:
var LblArray: array of TLabel;
    i: Integer;
...
  SetLength(LblArr, 4);
  for i:= 0 to High(LblArr) do
    LblArr[i]:= TLabel.Create(nil);
Greets

Binärbaum
There are exactly 10 kinds of people: those who understand binary, and those who don't.
---
"Software reift beim Kunden. Bei Hardware ist es anders: Hardware fault beim Kunden." - Rainer G. Spallek
  Mit Zitat antworten Zitat