answer with...

Klaus major-k klaus at major-k.de
Wed Aug 16 15:54:14 EDT 2017


Hi Richmond,

> Am 16.08.2017 um 21:32 schrieb Richmond Mathewson via use-livecode <use-livecode at 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
klaus at major-k.de





More information about the use-livecode mailing list