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;

Similar Messages

  • 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

  • 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/

  • 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

  • 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).

  • 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

  • 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...?

  • 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

  • How do make the mouse wheel scroll in my Flex app/component instead of the browser?

    Let's say I have a DataGrid or Tree or List component which
    has hundreds of rows. When I place my mouse over the component and
    scroll the mouse wheel, I notice that [most of the time] it scrolls
    the component a little, then starts scrolling the browser window. I
    want it to only scroll the component until it reaches the end of
    the rows. Any thoughts?

    I have confronted the same issue.
    Was anybody able to solve it?
    I think mx.contorols.TextArea seems to do well.

  • 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

  • Mouse wheel scrolling by page instead of 3 lines

    When I scroll my mouse wheel down or up, it goes by page instead of 3 lines (as set in Win7). This is happening only in Nightly 39.0a1 (2015-02-24), and I can't find where to change the setting, and frankly don't know how it got changed in the first place. Every other application does the 3 lines like they're supposed to. I was just scrolling thru my email and BOOM it started going by page. I've rebooted and tried holding every combination of CTRL/ALT/SHIFT and scrolling thinking that might help. Any ideas?

    hi greystoker, nightly is an unstable development branch where things are bound to break or go wrong every now and then.
    what you're describing sounds like [https://bugzilla.mozilla.org/show_bug.cgi?id=1136177 bug #1136177] which will be addressed in one of the next updates.

  • How do you make a page scroll horizontally with mouse wheel?

    As the title says, how do you make a page scroll horizontally with mouse wheel in edge animate?

    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

  • Is there a way to change my mouse wheel's funtion so it will scroll with out

    I'm stuck in habit that's hard to get out of. I started editing in Vegas then moved to Premiere CS3.
    I never use the mouse wheel to scroll frames. I wish it could just zoom in and out of the timeline like it did in Vegas without me having to push alt-scroll wheel.
    I'm might be asking for a lot but is this possible? I just can't break my habit of using just the arrow keys when I want to scroll frame to frame. Even though the alt-scroll has 'clicked' in my brain there's that 10% hesitation. That I know would make me more comfortable.
    Call me weird but is there a solution?

    Josh
    Place the cursor over the Source or the Program Monitor and use the scroll wheel to scroll frames.
    (Your post is not that clear whether you want to scroll frames or zoom the timeline as you mention both)

Maybe you are looking for

  • Importing Subtitles using Image Script

    I'm just about to make a project with seven different languages. It will have audio tracks as well as subtitle tracks. I've done subtitles in Encore 1.5 before using text with some success. For this production I need to import tif using an image scri

  • How to give internet priority to one computer on a network?

    Hello, I have 2 computers on 1 modem/router. 1 is connected directly by Ethernet, second one via bridge AirPort. Is it posible that when in simultaneus transfers sitations 1 or the computers would have a priority to recieve data, and the other would

  • Is there any technique to get notification on data updates.

    Case: *1.* Some common data set is being loaded to Application scope of an Enterprise Application (assume it's something just like a java-Hashtable or any other Map object which holds currency codes and currency rates respectively). *2.* Another user

  • Time to Retire my ibook?

    My 2003 ibook works well - sort of: Only one speaker now works. Every so often one of the usb ports decides its going to take some time out. And my battery currently lasts for about 20 minutes before the machine shuts down - often without warning. Wh

  • Multiple selection in LOV

    Hi, How to implement multiple selection in LOV region-query result table and return multiple values from LOV region back to the main page? Any help in this regard is greatly appreciated.