Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
Delphi 10.2 Tokyo Professional
|
AW: 2DArray in der Parameterübergabe erstellen??
17. Dez 2015, 15:30
Hallo,
Was (bei neueren Delphi Versionen) funktionieren könnte wäre:
Delphi-Quellcode:
type
T1DControls = Array of TControl;
T2DControls = Array of Array of TControl;
procedure pDo2D(lCs: T2DControls); // das möchte ich
procedure Click;
begin
pDo2D(T2DControls.Create(T1DControls.Create(a,b,c), T1DControls.Create(d,e,f,g,h)));
end;
Michael "Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
|
|
Zitat
|