ObjectName and SuperMatrix Objects
Josh Davenport
josh.davenport at verizon.net
Thu Mar 6 06:16:22 PST 2008
Thanks for the reply, Terry.
I decided to go with tagged data for my array.
My goal in this instance is to enable a TESO to grab data based on a
Name, not a column position, so that I can add columns to the array
without breaking code, because the functionality will be rapidly
changing
This: xtagvalue(info("matrixcelldata"),"Description") works fine.
The arrays are bigger, and of
course the calls aren't as fast, but the trade off is worth it in
this instance. As the functionality becomes more pinned down, perhaps
I can go back and use the faster array functions.
Thanks,
Josh
On Mar 6, 2008, at 7:54 AM, Mark Terry wrote:
> On Mar 5, 2008, at 7:16 PM, Josh Davenport wrote:
>
>> I'm finding I want a "Self()" function in a lot of places. Is there a
>> way for an object in a matrix frame to retrieve it's own name while
>> being drawn by the Super Matrix?
>
> Since info("trigger") returns the name of the matrix, you could make
> the object names a function of that name. i.e. matrix named "Peach",
> objects named "Peach.Button", "Peach.TDSO", etc. so you could
> reconstitute object name with info("trigger")+"."+"TDSO", etc.
>
> You should also check out the section on "Internal data" of
> SuperObjects in the Advanced Programming section of the big manual.
> But, as far as know, you can't change object names on the fly.
>
> M
> _______________________________________________
> Qna mailing list
> Qna at provue.com
> http://provue.com/mailman/listinfo/qna
More information about the Qna
mailing list