Splitting long elements into two lines in an Option Menu
Heriberto Torrado
htorrado at networkdreams.es
Sun Apr 29 19:48:29 EDT 2018
Thank you very much Richmond.
Your answer was very helpful. :-)
Best,
Hery
On 04/27/2018 05:09 AM, Richmond via use-livecode wrote:
> I've just set up a stack containing 2 fields; one called "fff"
> containing your
>
> original string, another called "fCHOPPED" that is a scrolling list
> field.
>
> I have a button containing this script:
>
> on mouseUp
> put fld "fff" into FFF
> set the itemDelimiter to ","
> put 1 into KOUNT
> repeat until item KOUNT of FFF is empty
> put item KOUNT of FFF into line KOUNT of fld "fCHOPPED"
> add 1 to KOUNT
> end repeat
> end mouseUp
>
> which puts the string into the scrolling list field like this:
>
> /Dialyse rnale
> insuffisance rnale
> maladie rnaleDID
> diabte de type 1//
> //diabte insulino dpendant/
>
> Richmond.
>
>
> On 27.04.2018 04:48, Heriberto Torrado via use-livecode wrote:
>> /Dialyse rnale, insuffisance rnale, maladie rnaleDID, diabte de
>> type 1//,//diabte insulino dpendant/
>
>
> _______________________________________________
> 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