To Ken, Devin, and Jacqueline Landman Gay -- thank you very much for helping me out here. After you showed me how to correctly script the mouse button, I still couldn't get the script to compile. I thought there was a bug in Rev 2.7. Then I discovered another error (mine, not Rev's). I had one too many "end mouseUp" statements in the (long) script.
Amateur developers like me owe you and the others on this use list a great deal of gratitude for helping us find our mistakes. We appreciate your patience. Bob Ball On 4/17/06 4:13 PM, "Dr. Robert E. Ball" <[EMAIL PROTECTED]> wrote: >> 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 > -- Robert E. Ball, PhD Distinguished Professor, Emeritus Department of Aeronautics and Astronautics Naval Postgraduate School Monterey, California _______________________________________________ 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
