Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Middle mouse Wheel support

From: allenk:powerup:au at: 28-May-2001 23:27

----- Original Message ----- From: <[philb--upnaway--com]> To: <[rebol-list--rebol--com]> Sent: Monday, May 28, 2001 9:13 PM Subject: [REBOL] Middle mouse Wheel support
> Hi Guys, > > Didn't Carl say there was no support for middle mouse wheel in Rebol ? > > How does the middle mouse scroll work in the Rebol Editor ? > > Cheers Phil >
Hi Phil, Mousewheel support events are scroll-line & scroll-page scroll-line -> (Mousewheel) scroll-page - > (CTRL+Mousewheel) You can catch these via detect. event/offset/y will return either a postive or negative value relating to the direction of the mouse scroll. The value returned on each scroll appears to depend on the users mouse driver settings. On my machine with the driver settings as scroll = 3 lines, a move of the scroll button returns offsets of 3 and -3. Cheers, Allen K