Disable scrolling via mouse wheel

Here's my situation.
I have a TextArea that is filled with text(more text than can
be displayed). I have the scroll bars removed so that you can not
scroll with them, but you can still scroll with a mouse wheel. How
can I disable this? I've tried a number of things but nothing seems
to be working.
I'm thinking I need an event listener, and a function needs
to be performed on ScrollEvent.SCROLL, but what would it be?
TextArea doesn't have scrollPosition, so I can't do
myTextArea.scrollPosition = 0; or something of that sort.
If anyone has an idea of how to go about this, throw it up on
the board, it'd be really appreciated.
Thanks!

As I couldn't find anything on this anywhere.. I'll post the
solution I got from the FlexCoders yahoo group.
package
import mx.controls.TextArea;
public class newTextArea extends TextArea
override protected function createChildren():void
super.createChildren();
textField.mouseWheelEnabled = false;
<mx:Application xmlns:mx=http://www.adobe.com...."
xmlns:local="*" .... />
<local:newTextArea ..... />
provided by Alex Harui - blogs.adobe.com/aharui

Similar Messages

  • Why I can not scroll menu drop down via mouse wheel to pick an option that is not visible?

    I am using FF 22.0 on Windows 8. When I start scrolling on drop down menu which show the vertical scroll bar via mouse wheel event on my touch pad when the cursor is on the menu area, Firefox just close the menu. I don't install any add on related to mouse/touch event.
    Toggling Use autoscrolling, Use smooth scrolling, or Use hardware acceleration has no effect.
    This error behavior is not happening in IE 10. I just want some clarification whether this is a bug or I just failed to find some configurations that fix it.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Horizontal scrolling with mouse wheel?

    I have built a website for a client that scrolls only horizontally. Is it possible to scroll with the mouse wheel horizontally?
    Is there certain HTML I need to add?
    Thank you

    Hi,
    There is no out of the box solution to force horizontal scrolling with mouse wheel. However, you can add your own code to your Muse site after exporting it. These docs should be helpful :
    http://css-tricks.com/snippets/jquery/horz-scroll-with-mouse-wheel/
    http://stackoverflow.com/questions/2346958/how-to-do-a-horizontal-scroll-on-mouse-wheel-sc roll
    Regards,
    Aish

  • Electronic noise is emitted from my computer when manually dragging the vertical scroll bar with hardware accleration enabled, but no noise is emitted when scrolling any other way (ie hyperscroll via mouse wheel).

    [Firefox 4.0]
    When I use my mouse button to hold and drag the vertical scrolling bar, my computer emits a soft grainy sound. However, when I hyper scroll with my mouse wheel, there is no noise.
    I do not get the quiet noise with Internet Explorer. I did not get this with previous versions of Firefox.
    Turning hardware acceleration off resolved this.
    I'm running Windows 7 with a dedicated graphics card (GTX 285).

    Quote
    amd 64=12a @12V
    ati 9800=7.5~10.5a @12V (assuming 90~125 watts) a max load,
    a 9600 ir nvida 5200 used far less power
    so your already at 18a with no fan,s no hd, no cd,no dvd ,no mobo chipset , no mem, no sound..etc
    If you exclude the motherboard, memory, etc like you did there, the amd 64 draws 7.2A @ 12V.
    90~125W for an ATI 9800?! [irony]Are you working for a PSU manufacturer or what?[/irony] That's just absurd.  
    Go read this post to get a feel for the actual power consumption: https://forum-en.msi.com/index.php?postid=297061&sid=#post297061

  • Scrolling with mouse wheel in column browser starts from the start of the list

    Hi, I'm wondering if anyone else has been encountering this problem with iTunes.
    Ever since updating to 10.5, whenever I use the mouse wheel to scroll in the column browser, it starts from the start of the list, regardless of which artist or album is highlighted.
    For instance, I press the M key to jump to artists starting with M, then use the mouse wheel to scroll down the list, in iTunes 10.5 it jumps me back to the As.
    The strange thing is that if I then use the mouse wheel to scroll down to the Cs, then jump down the list via a key press, mouse wheel scrolling will start me back to where I last scrolled (C).
    How can I fix this problem?
    I'm using iTunes 10.5.0.142 on Windows 7 Home Premium.

    I can confirm the behaviour. It would seem iTunes is keeping a separate record of the position in the list for use by the scroll wheel, and then snapping to that before scrolling up or down a screenful. The same random jumps happen if you use the keyboard Page Up/Page Down commands and then use the mouse wheel.
    I shall file a bug report.
    tt2

  • Flash freezes in Firefox when I scroll the mouse wheel over a drop down list or text field (possibly others as well).

    Whenever I scroll in a drop down menu in Flash in Firefox (for example, I move the mouse wheel just one detent), it just continues scrolling on its own all the way to the bottom of the list and freezes all interaction for about 10 seconds.  It's really bizarre.
    If I start click and dragging things, nothing happens, and then all of the sudden everything catches up and moves.  As an experienced programmer, I can say that it looks like some kind of queuing of keyboard/mouse events with delayed execution.   Has anyone else encountered this issue?
    I found something from 2008 that sounds similar, although I am not using the sIFR they mentioned: sIFR mouse wheel scrolling freeze in Firefox - Stack Overflow
    Seems to be a Firefox-specific issue, although it also seems to be something that has just recently started occurring since updating Firefox.
    UPDATE:  I was checking my Firefox version in Help > About Firefox, and it showed version 33, but also had a pending update so I restarted Firefox.  The problem was no longer occurring at that point.  When I checked the version again, it said 33.0.2, but it also said "applying update", with another pending restart. I restarted Firefox again.  It's now stable at version 33.1.  So perhaps it was a problem with that particular version, or even a temporary issue with that running browser instance.

    Hi James,
    Thank you for sharing your solution with us. It will help other users with a similar issue.
    Thanks,
    Preran

  • Scroll with mouse wheel requires multiple "ticks" to start scrolling

    I recently got a new mouse, and now when using firefox the scroll wheel doesn't want to work correctly. Everywhere else I can do single scroll ticks to scroll content, but in firefox a single tick scroll is just ignored as are multiple ticks if done somewhat slow. In order to get firefox to actually scroll with the mouse wheel I have to quickly do a few ticks at once. Doing so makes for very inaccurate control.
    I've tried turning off smooth scroll, hardware acceleration, and pixel scroll, but none of those helped. Any help getting firefox to stop ignoring slow and single scroll ticks would be greatly appreciated.

    Did you check the settings in the mouse driver software in case something has changed?
    Boot the computer in Windows Safe Mode with network support (press F8 on the boot screen) as a test.
    *http://www.bleepingcomputer.com/tutorials/how-to-start-windows-in-safe-mode/

  • Screen smooth scrolling with mouse wheel

    I have a screen with a number of vertical sections that are initially all collapsed. After expending these sections the screen becomes too tall and I get a scroll bar on the right. Scrolling it by dragging a scroll bar has expected smooth scrolling but using the mouse wheel scrolls  why too large portion of the screen.
    Any idea what to look for?
    Thanks

    No, I do not have other parts installed. I saw this behavior by others last week in the Safari forum here at Apple too. They wrote about this could be happend by using fast user switching and only Safari 4 was effected. But now, as I saw this after upgrading to Safari 4.0.2 in Aperture too, there should be a biger bug elsewere in the System or maybe Webkit?

  • Decrease distance scrolled per mouse wheel notch (Desktop)

    As of yesterday's 1.0.1.1060.gc75ebdfd update, one scroll wheel notch scrolls much longer than it used to do. Before it scrolled the distance it was supposed to, as defined by the vertical Scrolling setting in Control Panel->Mouse. In the update, it scrolls four times that. If set to 3 lines, it should scroll 100 pixels, which it does in all other applications. In the new update, it scrolls 400 pixels [when set to 3 lines per scroll wheel notch]. This causes you to lose control almost immediately when scrolling through lists. On a 1080p display, it scrolls almost half the list height per notch (880 pixels). This means that you get a completely different view every two scroll wheel notches. Skimming through lists becomes almost impossible. As for me, this reduces the usability of Spotify quite dramatically. I have dozens of playlist, some with hundreds or thousands of songs. Now I have no good way of scrolling slow. The mouse wheel obviously doesn't work, and the scroll bar is so small in select playlists [because there are so many songs], that it required very minute and accurate movements in order to have control. Temporary fix:Use the mouse wheel button to scroll slowly. Just click it once and move the mouse a little down [or up] to initiate auto scrolling. Be aware that if you do this while the mouse hovers over a link (artist name or album name), nothing happens. In a browser, this would open a new tab with that link, but as Spotify doesn't have tabs (new idea?), nothing happens. Doing this also selects the track you hover over when initiating auto scroll (same as ctrl-clicking songs), but this doesn't matter as when you double click a song to play it, all other songs are deselected. [EDIT 15.03.15] Rewrote the entire post, as I realized my first version may have led to misunderstanding of what I wanted to carry forward. This case should be looked at as a bug. Thanks,Truls Bekk

    I looked around everywhere for solutions to these things.This is my first post, but, try installing this mouse program called "KatMouse"It changes around the scrolling a little bit so you might have to make some adjustments, but, just keep it running. It works!It's also a really nice program. This should be a temporary solution until this is fixed ..If it doesn't work for you then just uninstall it and restart the computer.I'm on Windows 7 64bit desktop computer with Logitech M525 wireless mouse and Logitech SetPoint software and it completely fixed this problem for me.I won't post the link to the actual KatMouse site, just search for it with Google or whatever search thing you use. It's icon is a little cat when you install it. This was bugging the crap out of me too, as well, so I hope this works for you guys, too. EDIT: Also, after you install KatMouse, you have to leave it running for it to work (it'll just run in your taskbar). It won't slow down your computer (a very small program). It just runs in bewteen your mouse and the scrollbars (technically speaking).

  • Scrolling table mouse wheel

    My UI contains a table that is initially empty.  When the app is launched I can mouse-over the table and use the mouse wheel to scroll through the (empty) table, but after the table is filled with values this functionality stops.  I can only scroll with the mouse wheel after left-click on the vertical scroll bar.  Any way to scroll the table without having to click the scroll bar?  Is there an attribute that can be set?

    Hello !
    Here is how I did it (be careful, you will have to force "FirstVisibleRow" variable to be inside of limits [1 ; number of raw in the table]...this is not done in the example) :
    int CVICALLBACK tableCB (int panel, int control, int event,
    void *callbackData, int eventData1, int eventData2)
    int FirstVisibleRow;
    switch (event)
    // If mouse over the table => table is forced to be the active control of UI
    case EVENT_MOUSE_POINTER_MOVE:
    SetActiveCtrl (panelHandle, PANEL_TABLE);
    break;
    // If mouse wheel scroll is used
    case EVENT_MOUSE_WHEEL_SCROLL:
    // Get first row index
    GetCtrlAttribute (panelHandle, PANEL_TABLE, ATTR_FIRST_VISIBLE_ROW, &FirstVisibleRow);
    // Set new first row index : scroll-down if eventData1 = 2 (scroll-up otherwise, if eventData1 = 3)
    SetCtrlAttribute (panelHandle, PANEL_TABLE, ATTR_FIRST_VISIBLE_ROW, (eventData1 == 2) ? FirstVisibleRow - 5 : FirstVisibleRow + 5);
    break;
    return 0;

  • ITunes 10.5 Library Scrolling Issue (mouse wheel)

    When in the iTunes library I have an issue using my scroll wheel on my mouse.
    I use the Column Browser in iTunes.
    Example: I click in the Artist area and type "L" to skip to the letter L. (which it does fine) Then I want to scroll to Life In Your Way... when I scroll using my mouse wheel, it automatically skips back to the top of the list and starts scrolling down through the A's. It scrolls... but why does it skip back to the top? It's very inconvenient.
    I'm using iTunes 10.5 on a Windows 7 64-bit OS.
    Thanks.
    Josh

    same problem here - on WinXP. very annoying.
    I wonder if someone at Apple tests their software on Windows...?

  • Possible to disable selection via mouse on timeline?

    This is easily the most heinously annoying feature of Quicktime, far and away so.
    Why it's too much to assume that anybody who actually wants to use QuickTime's editing functionalities wouldn't be capable of executing, if not in fact preferring, the "i" and "o" keyboard shortcuts which manually place in and out points is beyond me.
    QuickTime's scrubbing frankly isn't particularly useful, and so I find myself clicking on the timeline frequently to jump around in a video. However, QuickTime is absolutely abominable when it comes to the mouse-slider interface, and impossibly unpredictable. It seems as though the indented functionality is such that any click inside the slider bar proper should simply move the playhead, whereas any click below the slider bay proper will move the nearest in/out point to the click position. However, due to some bug or perhaps simply poor design, it is very possible to cause the in/out points to move even when clicking only inside the slider bar proper. Perhaps this is due to proximity with other objects, possibly the playhead.
    I find this behavior highly annoying, and even worse, once there is a selection, QuickTime starts getting ideas about dropping the selection back on to the slider bar, and all kinds of interface "features" QuickTime simply isn't capable of without a proper timeline interface.
    So, my question is simple. Is there any way to modify QuickTime's configuration such that the only way to manipulate in/out points is using the keyboard shortcuts, completely disabling mouse input for this function?
    Thanks in advance.
    P.S. It would be nice if QuickTime had a little more interface configurability. It would be reasonable, for example, for the default behavior to be such that, in order to manipulate the in/out points via mouse, they would have to be actually dragged from A to B. If a user wants more precise control than that there's no reason he can't locate the playhead and then use the keyboard shortcuts from there. Quicktime isn't FCP, and it doesn't have a proper timeline.
    IMO.

    I don't know how to do what you describe, but you must admit that what we have now is a vast improvement over what we used to have: prior to QuickTime 7.something (I forget where it appeared) the "I" and "O" keyboard shortcuts *didn't exist* and Avid-style "JKL" scrubbing did not work as it does now.
    So I completely agree with your assessment, but also recognize that we've come a long way since 6.5.3.
    What you could do, though, is to write yourself an editing tool in XCode. Just build yourself an alternate controller for QuickTime Player, and perhaps set it up so that you can type in a time and jump to it, or you can lock the in and out points. That would be fairly simple to do...when you lock the in or out point your program makes note of the timecode, and if the selection start or end point changes, it just changes it back to the noted value.
    I haven't tried anything like that lately, but it seems that it would be quite possible...

  • Disable keyboard and mouse wheel

    Is that possible in the Acrobat Professional ver 7?
    I want to disable everything except "Esc" and put the javascript navigation buttons. I could not find this information anywhere but I was told it's possible. Any hint would be greatly appreciated.

    wilhja wrote:
    I found some registry keys that will supposedly do what I am looking for but I'm not sure how to use labview to write them. 
    Hello,
    when you know the registry keys, have a look at the
    Windows Registry Access VIs
    http://zone.ni.com/reference/en-XX/help/371361E-01/glang/windows_registry_access_vi/
    You can easily open and write the keys.
    Best regards,
    NWO

  • Scrolling with mouse wheel

    There was a question on this from March 2005, but the
    suggested link no longer works. Anything new on this?

    mlboyer wrote:
    > There was a question on this from March 2005, but the
    suggested link no longer works. Anything new on this?
    It would help if you tell us what you're talking about?
    Here's a link
    that might be useful:
    <yrl:
    http://www.apixel.com/page0203.htm#almessages
    >
    Andrew Poulos

  • Cant scroll horizontally with mouse wheel in FF

    I cant scroll horizontally in FF unter XP+SP3 by pressing the mouse wheel sideways. This is the same in FF 3.6 and 4.0 beta, while in IE 6.0 and in other MS programs (Explorer, Word, ...) it works fine. I am having this problem with 2 different mice: Fujitsu 400NB and easytouch ET-9600. I cant find newer drivers for them than what I have installed from the CDs. Here some settings from my FF: mousewheel.horizscroll.withnokey.action;0 mousewheel.horizscroll.withnokey.numlines;1 mousewheel.horizscroll.withnokey.sysnumlines;true. Some time ago I played around with them but that didn't help. What else can I do to get FF scrolling horizontally?

    This should get you there
    http://css-tricks.com/snippets/jquery/horz-scroll-with-mouse-wheel/
    1. Load the mousewheel min script via CDN (jquery-mousewheel - cdnjs.com - the missing cdn for javascript and css)  into the Scripts Panel;
    2. Add the provided snippet into your Stage > compositionReady event handler.
    hth
    Darrell

Maybe you are looking for

  • Scrollbar not working in a JScrollPane

    In the JDialog there is a JScrollPane. JTextPane is in a the scroll pane. For some reason the scrollbars are not working. Any suggestions on this why the scrollbars not working? Thanks.

  • OHS forwarding page request to WebLogic

    I have WebLogic v10.3.3.0 installed and up and running with Clustering. It has two managed servers, and each managed server is set up with SSL. I have an application deployed to the two managed servers and can bring up the application if typing in th

  • Sap Solution Manager 7.1 Solman_Setup problem

    Hello I have installed SOLMAN 7.1 (SID = HSM)  and Portal NW 730 (SID = HPP) .  I have configured Solman Basic and System Preparation steps. Portal (HPP) system has SDM 7.30 Diagnostic on it and configure to SOLMAN system.  Isee all agent on Agent Ad

  • Displaying a 16bit image

    Hi...i am new to java... Can anyone tell me what is the syntax to display a 16bit image ... like for an 8bit i know that i can use....image.setRGB(i, j, new Color(blue,green,red).getRGB()); But when i am trying to display a 16bit image....its is sayi

  • De-noise edit mode not saving.

    My photos do not seem to be saving in their edited form. The de-noise and touch up changes appear while in the editing mode but not in the normal library while other changes do. What's up?