Manfred_F
10 years agoRegular Contributor
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
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