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

Reply via email to