Splitting long elements into two lines in an Option Menu

Bob Sneidar bobsneidar at iotecdigital.com
Fri Apr 27 10:47:39 EDT 2018


On a mobile device??

Bob S


> On Apr 27, 2018, at 02:09 , Richmond via use-livecode <use-livecode at lists.runrev.com> 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 rénale
>  insuffisance rénale
>  maladie rénaleDID
>  diabète de type 1//
> //diabète insulino dépendant/
> 
> Richmond.
> 
> 
> On 27.04.2018 04:48, Heriberto Torrado via use-livecode wrote:
>> /Dialyse rénale, insuffisance rénale, maladie rénaleDID, diabète de type 1//,//diabète insulino dépendant/ 
> 
> 
> _______________________________________________
> 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