Page 1 of 1

Adding text to scrolling list field

Posted: Mon Oct 21, 2013 8:25 am
by appmann
Hi.

Im trying to add text to a scrolling list field.
I want to keep the text already in there, and insert the new after the last. Or in Alphabetic order?.

I have tryed the put into field. But it deletes the text and paste it to the first line.

I have tryed the Add command. But it says wrong code.

Maby it could be done by making the list field, list all cards from a stack, and just update after a Mouse Up event?

Any sugestions?

Re: Adding text to scrolling list field

Posted: Mon Oct 21, 2013 9:16 am
by Simon
Hi appman,
You've answered your own question :)
I want to keep the text already in there, and insert the new after the last. Or in Alphabetic order?.
I have tryed the put into field.
Keywords there are "into" and "after".

Sorry if that answer seems a bit cryptic but I think you'll be happier if you figure it out by yourself.
If not then just say, I'll give my answer.

Simon

Re: Adding text to scrolling list field

Posted: Mon Oct 21, 2013 9:20 am
by jmburnod
Hi appman,

Code: Select all

on mouseUp
   get fld 1
   put cr & "choice 6" after it
   sort it
   put it into fld 1
end mouseUp
Best regards
Jean-Marc

Re: Adding text to scrolling list field

Posted: Mon Oct 21, 2013 9:42 am
by appmann
Thx to you both.

You helped a lot.