looking for a smart approach to "sort" an array

Lagi Pittas iphonelagi at gmail.com
Mon May 8 06:22:15 EDT 2017


Jim

You are a Godsend - I never knew of the metadata - I have a whole lot of
refactoring to do.
I was using the "hidden" tab fields trick but this is way better

This is going to make so much stuff so easy - and so much easier to debug

Thanks again

Lagi

On 8 May 2017 at 09:34, Tiemo Hollmann TB via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Thank you all for your nice ideas
> Tiemo
>
> -----Ursprüngliche Nachricht-----
> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
> Auftrag von J. Landman Gay via use-livecode
> Gesendet: Samstag, 6. Mai 2017 22:15
> An: How to use LiveCode <use-livecode at lists.runrev.com>
> Cc: J. Landman Gay <jacque at hyperactivesw.com>
> Betreff: Re: looking for a smart approach to "sort" an array
>
> Use tabwidths instead of tabstops. I was working off faulty memory.
>
>
> On 5/6/17 2:32 PM, Mike Bonner via use-livecode wrote:
> > Cool stuff! Didn't know you could hide things with tab, and will have
> > to look at metadata now.  Thanks!
> >
> > On Sat, May 6, 2017 at 1:30 PM, Jim Lambert via use-livecode <
> > use-livecode at lists.runrev.com> wrote:
> >
> >>
> >>> Jacque wrote:
> >>> I've done this often, it's a nice clean solution. And now that we
> >>> can set tabstops to 0, the second item won't be visible whether
> >>> there's a horizontal scrollbar or not.
> >>
> >>
> >> That’s right!  tabwidths are handy for this hiding too.
> >>
> >> But I realized Tiemo might not even need to bother hiding the
> >> otherData if he takes advantage of another property of fields - the
> metadata property:
> >>
> >>         set the metadata of line 1 of field 1 to otherDataString
> >>         set the metadata of line 2 of field 1 to otherDataString2
> >>
> >> A field’s metadata is never visible.
> >> Yet the otherData strings will travel along with each line as the
> >> user drags the the lines up and down.
> >>
> >> LiveCode offers so much flexibility! We can usually have a choice of
> >> approaches to any problem
> >>
> >> Jim Lambert
> >>
> >>
> >>
> >> _______________________________________________
> >> 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
> >
>
>
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.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