Cheesed off by 32xxx

Richmond Mathewson richmondmathewson at gmail.com
Sun Apr 2 13:08:53 EDT 2017


I'm interested and will have a look at it after supper.

Thanks, Richmond.

On 4/2/17 8:01 pm, Mike Bonner via use-livecode wrote:
> Just for fun, I did as others have said and converted the stack to use a
> field.  Since each button used the same exact script (as far as I could
> tell, too many to go through individually) it was easy to modify it to use
> the selectedtext rather than the label of the clicked button.  TO get the
> fonts for the list I looped through buttons looking for all that contained
> hex and grabbed the labels, sorted the resulting list so that it matched
> your original arrangement, and voila'.  Had to adjust the preopencard
> handler to account for the changes. I missed something. If you're
> interested, the adjusted stack is here.
> https://www.dropbox.com/s/bn5ihcosxd6vj8f/CHAR%20REF.livecode?dl=0
>
> On Sun, Apr 2, 2017 at 10:01 AM, Curry Kenworthy via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
>> Howdy Richmond,
>>
>> Wise man do many things with few buttons. Elite master use single field.
>> That is the true path to LC enlightenment, avoiding all unnecessary sorrows
>> in coding and interface.
>>
>> Having said that, you specifically asked for a way to circumvent the 32k
>> pixel limitation for positioning. That should be possible. (And doubly
>> worth mentioning because it could apply to other situations with fewer, but
>> larger, controls.)
>>
>> If you split the 1600 controls into two groups rather than one, and add a
>> little special code to swap them smoothly while scrolling....
>>
>> Thus you would never need 8703 buttons on top of each other. However, the
>> same is true of the 1600 or the 800. It's a fun exercise and a great test
>> of LC's limits and performance, but a different approach will be more
>> efficient.
>>
>> Very nice topic for an app, I love Unicode tables! Very handy.
>>
>> Best wishes,
>>
>> Curry K.
>>
>> LiveCode Training and Consulting
>> http://livecodeconsulting.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