looking for a smart approach to "sort" an array

J. Landman Gay jacque at hyperactivesw.com
Sat May 6 16:14:49 EDT 2017


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





More information about the use-livecode mailing list