But this doesn't

on mouseUp
   answer "Press cmd+e for Blue, cmd+k for Black or cmd+n for Brown or
cmd+c for Cancel" with "Blue" or "Black" or "Brown" or "Cancel" as sheet
   put it into fld "Field4"
end mouseUp

It would appear that you are limited to the first letter of the button and
therefore can not have buttons that start with the same letter.

The following script works fine for me, this is on a Mac, but I think you
> can just use ctrl instead on Win…
>
> One test button & one field called resultField
>
> on mouseUp
>    answer "Press cmd+y for Yes, cmd+t for Test or cmd+c for Cancel" with
> "Yes" or "Test" or "Cancel" as sheet
>    put it into fld "resultField"
> end mouseUp
>
> Regards,
>
> Paul
> _______________________________________________
> 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