Bizarre? Group id = 0???

David Bovill david at openpartnership.net
Mon Dec 4 18:46:49 EST 2006


No that does not work. That is the script:

getprop date_Record
    put the long id of me into myView
    return the long id of group "_dateCreated" of myView
end date_Record

Still returns:

  group id 0 of group id 3712 of group id 1231 of group id 1275 of card id
1002 of stack ....

when called from anoher card. While giving:

  group id 3706 of group id 3698 of group id 1231 of group id 1275 of card
id 1002 of stack ....

when called from the current card.

Further investigation reveals that this is an issue only for controls that
have been created and not "loaded" by visiting the card they were created
on. For my application a group is copied to another card and I refer to
elements within that group with properties. This is what is not working.
Visiting the card before getting a reference solves the problem - but is not
really an option in my case as their are large videos on the card - and this
is way too slow.

There seems no way around this bug? As a hack I have moved the group to the
first group which is what an id of 0 seems to refer to!

I've added this info to the report to the bug
3420<http://support.runrev.com/bugdatabase/show_bug.cgi?id=3420>report:

  http://support.runrev.com/bugdatabase/show_bug.cgi?id=3420



More information about the use-livecode mailing list