gettingstarted
[Top] [All Lists]

Re: scroll wheel option for listbox row selection

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: scroll wheel option for listbox row selection
From: Phil M <phil at mobleybros dot com>
Date: Mon, 31 Oct 2005 21:19:51 -0800
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <20051101011331 dot A3AD8E5E517 at lists dot realsoftware dot com> <8C7ACA90FD48223-1368-1BBF7 at FWM-R25 dot sysops dot aol dot com>
On Oct 31, 2005, at 7:11 PM, gamoore at aol dot com wrote:

On both Mac and Windows, the scroll wheel on the mouse will scroll a listbox..but only if its big enough to have scroll bars. Is there an option to make the scroll wheel to scroll through the listbox selection, instead of scrolling the listbox itself?

REALbasic 2005 has a MouseWheel() event which you could change the behavior to what you want. Just make sure you return True from the event otherwise the old behavior will also occur.

You will also need to play around with the Delta to get what feels right to you... for example I have one canvas that I need to reduce the scrolling by "(Delta \ 3)" but another canvas that I need to increase the scrolling "(Delta * 2)".
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>