On Tue, Aug 22, 2017 at 3:28 PM, Jonathan Lynch via use-livecode <
[email protected]> wrote:

> Can you have a function in the appropriate group that returns its unDna?
> This way, it will not matter about any subgrouping.
>
> Function MyUnDna
> Return the unDna of me
> End MyUnDna
>
> It would need to be a group-level function, which isn't a problem.  I'm
always hesitant, though, to rely on "me"  [and finding "me" in the
dictionary is an adventure in itself . . .  {now *Bug 20289*
<http://quality.livecode.com/show_bug.cgi?id=20289> - "me" is nearly
impossible to find in dictionary }]

if I have the structure

  rawRow
    someGroup
        anotherGroup
           myControl

and define in rawRow (actually, in it's behavior)

on getProp uDna

return the uDna of me

end getProp



will this do what I mean?

Seems nice, clean, elegant and fast . . . and doesn't involve a bunch of
redundant setting . . .
-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to