> On 4/17/06 5:18 PM, "Dr. Robert E. Ball" <[EMAIL PROTECTED]> wrote:
>
>> I want a mouseUp handler based upon button 3. In the printed Transcript
>> Language Reference and the dictionary the mouseButtonNumber is indicated by
>> "3" (Option + *). I have tried that in the form
>>
>> On mouseUp 3
>>
>> but that doesn't work. How can I indicate button 3 on the mouseUp handler?
>
> On 4/17/06 3:26 PM, "Ken Ray" <[EMAIL PROTECTED]> wrote:
> That's strange that it would say that, here's how you do it:
>
> on mouseUp pBtnNumber
> if pBtnNumber = 3 then
> -- right-click, do what you want
> end if
> end mouseUp
>
>
> Ken Ray
> Sons of Thunder Software
> Web site: http://www.sonsothunder.com/
> Email: [EMAIL PROTECTED]
>
> _______________________________________________
Ken -- I tried your suggestion and it didn't work. ??? Here is what I have
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
Bob
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution