I have come up with this way of doing it:
property MyProp[idx: array of Integer]: Integer read GetMyProp;
This works fine, but the code to retrieve an instance of MyProp is a bit
cumbersome.
i := MyObject.MyProp[[1, 2, 3]];
// note the double brackets
I was wondering if anyone knew of a better way of doing this.
> I was wondering if anyone knew of a better way of doing this.
Nope.
Gambit