Thanks! This is cool! I appreciate it when people contribute code snippets. I would have never thought of this.
Sincerely, Clarence Martin Email: chi...@themartinz.com Cell: 626 6965561 -----Original Message----- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Richmond Mathewson via use-livecode Sent: Wednesday, August 16, 2017 12:56 PM To: How to use LiveCode <use-livecode@lists.runrev.com> Cc: Richmond Mathewson <richmondmathew...@gmail.com> Subject: Re: answer with... Ha, Ha! I didn't know that either until I had a "mad" idea and tried it. Richmond. On 8/16/17 10:54 pm, Klaus major-k via use-livecode wrote: > Hi Richmond, > >> Am 16.08.2017 um 21:32 schrieb Richmond Mathewson via use-livecode <use-livecode@lists.runrev.com>: >> >> This works: >> >> on mouseUp >> answer"your Choice" with fld "CHOIX" >> end mouseUp >> >> if fld "CHOIX" is a listField > WOW, now THIS is really cool! > And also works with "normal" (editable) fields. > > Really did not know this, thank you, Sir. :-) > >> Richmond. >> >> On 8/16/17 10:07 pm, jbv via use-livecode wrote: >>> Hi >>> I have a blank... >>> I need to use a prompt in the form of >>> answer "Your choice" with "John" or "Mary" or "Cancel" >>> >>> the problem is that the number of options depends on the result of a >>> DB request, and can vary from 2 to 6... >>> I tried to put ("John" or "Mary" or "Cancel") in a string but >>> (answer "Your choice" with myString) doesn't work as expected... >>> Any idea ? >>> >>> Thanks in advance >>> jbv > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > kl...@major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode