How do I specify the mouse button (mousebuttonNumber) in a script?

J. Landman Gay jacque at hyperactivesw.com
Mon Apr 17 21:56:46 EDT 2006


Dr. Robert E. Ball wrote:

>>on mouseUp pBtnNumber
>>if pBtnNumber = 3 then
>>  put the vScroll of field "Instructions field" into scrolledHere
>>  set the vScroll of field "Instructions field" to scrolledHere - 475
>>end if
>>end mouseUp
>>
>>Here is the error I get
>>
>>       compiling at 4:06:57 PM
>>Type    Handler: error in command
>>Object    Instructions field
>>Line    on mouseUp pBtnNumber
>>Hint    on
>>
>>????? I have the latest version of 2.7 on a Mac using OS 10.4.6

It works okay here, on all recent versions of Rev I've got. Something 
else must be going on; maybe something in a backscript or a plugin?

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list