On 22/01/16 20:46, John Dixon wrote:
look harder...

mouse([buttonNumber])
the mouse

from the dictionary...




So, I made a wee stack containing a field: fld "MB"

and put this in the cardScript:

on mouseDown
   if mouse(1) is "down" then
      put 1 into fld "MB"
   end if
   if mouse(2) is "down" then
      put 2 into fld "MB"
   end if
   if mouse(3) is "down" then
      put 3 into fld "MB"
      end if
end mouseDown

and when I click any of the mouseButtons
I get NO result.

Where am I going wrong?

Richmond.

_______________________________________________
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