Card Names

Mike Bonner bonnmike at gmail.com
Thu Sep 27 19:25:11 EDT 2012


Its possible to cause this issue with other objects by accident. Happens to
me once in a while when typing on a laptop with a trackpad.  Accidental
selections wiping out the objects name in the inspector. When you come back
to it later it shows the id like cards do. Of course then if you click in
the box and make any change (as bob mentioned) space at the end, whatever,
then the name "sticks."

This also explains why I turn my trackpad off and use a mouse so that my
fumble fingers don't get me in trouble.
On Thu, Sep 27, 2012 at 4:49 PM, Bob Sneidar <bobs at twft.com> wrote:

> Yup. Cards with no name... well... have no name. LC is faking it. I'm
> trying to think how this would be useful, but I cannot. I think cards are
> the only thing this happens with. Odd huh? Wanna know what is even odder?
> If you delete the 2 in the name, then type it back in again, it now has a
> name.
>
> Bob
>
>
> On Sep 27, 2012, at 3:25 PM, Peter Haworth wrote:
>
> > It would appear that a card shown in the App Browser with a name like
> "card
> > id 1002" (in other words, the default name when the card was created)
> > doesn't really have that name, or maybe any name at all.
> >
> > I get a runtime error when I try to refer to a card like that by name,
> e.g.
> > card "card id 1002" of stack "xyz" and in the message box:
> >
> > put the ID of card "card ID 1002" of stack "xyz"
> >
> > ... returns an error "can't find card", even though I can see it in the
> App
> > Browser
> >
> > If I rename the card, everything works OK.
> >
> > This seems like pretty strange behavior so wondering if anyone else sees
> it.
> >
> > LC 5.5.0, OSX 10.7.4
> >
> > Pete
> > lcSQL Software <http://www.lcsql.com>
> > _______________________________________________
> > 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
>
>
> _______________________________________________
> 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