This works:
onmouseUp
answer"your Choice" withfld "CHOIX"
endmouseUp
if fld "CHOIX" is a listField
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
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode