Challenge: how to set the text of a field

David Bovill david at vaudevillecourt.tv
Mon Apr 8 07:56:24 EDT 2013


No Kay - removing the group shows how the internals of LiveCode messaging
and target references work in this case, and flags up a warning for anyone
who might be working with shared or background groups and behaviors -
that's why I include the info in the email.

There is no fix for this - however you try. It is IMO an important bug in
how "the target" works, which effects our ability to create developer
widgets with nice interfaces (for shared backgrounds). Please vote for this
bug at:

   - http://quality.runrev.com/show_bug.cgi?id=10822

or the feature request which will allow us to get around it here:

   - http://quality.runrev.com/show_bug.cgi?id=7615



On 7 April 2013 09:08, Kay C Lan <lan.kc.macmail at gmail.com> wrote:

> On Sat, Mar 30, 2013 at 5:07 AM, David Bovill <david at vaudevillecourt.tv
> >wrote:
>
> >
> > Now given you are on the first card - issue the following from the
> message
> > box:
> >
> > put the card_Number of group 1 of card 3  --> answer is 1
> > put the card_Number of group 1 of card 2  --> answer is 1
> > put the card_Number of group 1 of card 1  --> answer is 1
> >
> > Now try removing the group from the first card, and do the same again:
> >
> > put the card_Number of group 1 of card 3  --> answer is 3 - ie correct!
> > put the card_Number of group 1 of card 2  --> answer is 2 - ie correct!
> > put the card_Number of group 1 of card 1  --> well there isn't one so you
> > get an error
> >
> > So is the hint to a workaround in creating at least one 'dummy' card that
> does NOT contain the background group so that your referencing works?
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list