Strange contents of long name

Thierry Douez th.douez at gmail.com
Wed Jan 16 05:26:44 EST 2013


Hi,

did the same test except for 4.

4. Create another button and set its script to:

on mouseUp
   create button in group "tad" of this stack
   put the long name of it
end mouseUp

with result:

button "New Button" of group "tad" of card id 1002 of stack
"/Users/tdz/Desktop/dupond"


Regards,

Thierry


2013/1/16 Geoff Canyon <gcanyon at gmail.com>

> Tested in the latest dp and 5.5:
>
> 1. Create a stack and name it "steve"
> 2. Drag in a button.
> 3. Group the button and call the group "tad"
> 4. Run the following in the message box:
>
> create button in group "tad" of stack "steve";put the long name of it
>
> the result is something like:
>
> button id 1006 of group id 1005 of card id 1002 of stack "steve"
>
> while
>
> put the long name of btn 1 of stack "steve"
>
> results in:
>
> button "Button" of group "tad" of card id 1002 of stack "steve"
>
> gc
>
>
> On Tue, Jan 15, 2013 at 6:45 PM, Mark Wieder <mwieder at ahsoftware.net>
> wrote:
>
> > Peter Haworth <pete at ...> writes:
> >
> > > > > Here's a recipe.
> > > >
> > > > Works for me.
> > > >
> > > > Ummm, you mean you see the IDs instead of names in the long name?
> >
> > Er... no... works as in "does what I expect it to."
> >
> > I see no numeric ids when I ask for the long name.
> >
> > --
> >  Mark Wieder
> >  mwieder at ahsoftware.net
> >
> >
> >
> >
> > _______________________________________________
> > 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