Thema: Delphi "Dynamische Arrays"...

Einzelnen Beitrag anzeigen

Benutzerbild von DGL-luke
DGL-luke

Registriert seit: 1. Apr 2005
Ort: Bad Tölz
4.149 Beiträge
 
Delphi 2006 Professional
 
#2

Re: "Dynamische Arrays"...

  Alt 11. Sep 2006, 14:23
guckstu hier:

Delphi-Quellcode:
type
  SomeClass = class
  public
    function GetArrayProp(Index: string): string;
    procedure SetArrayProp(Index: string; Value: string);
    property ArrayProp[Index: string]: string read GetArrayProp write SetArrayProp;
So ungefähr sollte das hinhauen. Schade nur dass man die Property nicht ins published schreiben kann.
Lukas Erlacher
Suche Grafiktablett. Spenden/Gebrauchtangebote willkommen.
Gotteskrieger gesucht!
For it is the chief characteristic of the religion of science that it works. - Isaac Asimov, Foundation I, Buch 1
  Mit Zitat antworten Zitat