Forum Discussion

Manfred_F's avatar
Manfred_F
Regular Contributor
10 years ago

ODT: find array's active item

Hi,

is there a way to get a reference on an array's active item?

in ODT, I can walk up the object hierarchy using the owner property.

If an object's parent is an Array, can I find out, which item does hold my currently active object?



I'd like to use this Information to generate an identifier for logging in a hierarchical style, e.g. "1.2.2.5.4".



Of course, I could use a dedicated method of my object to increment a superordinate object's Counter property, but this would not be a comfortable way to do this.



Any better ideas?



Regards,

Manfred
No RepliesBe the first to reply