AW: looking for a smart approach to "sort" an array

Tiemo Hollmann TB toolbook at kestner.de
Mon May 8 04:34:04 EDT 2017


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





More information about the Use-livecode mailing list