Down on the Image, but not on the mouse scroll bar event?

Hi all

I use an event "Mouse Down" on an image to save the coordinates X and Y of the click and increment a counter.  My problem is that I'm looking at an image with a scroll bar that I want to use to set what part of the image is visible.  When I click on the scroll bar, I set off the mouse event down and increments the counter, which I won't do.

Is there a way to implement a mouse event to the bottom so that it will ignore clicks on the image scroll bars?  If not, can you think of another way to accomplish what I'm doing?

Thank you!

Some quick ideas:

The scroll bars will be a fixed height or width of the right or at the bottom of the indicator. In the mouse to the bottom of the event handler, if the click happens to a set of coordinates that are in a region of scroll bar, you know, do not increment the counter.

OR

Maybe you can overlay a transparent image control such that it covers the image but not the scroll bars, and find clicks on this second control.

Mike...

Tags: NI Software

Similar Questions

  • Windows 7 and using Google Chrome - the arrow pointing down in the side scroll bar does not appear

    Have Windows 7 and using Google Chrome - the arrow pointing down in the side scroll bar does not show unless I click on far right of the bar to scroll down and then click again to bring Google chrome

    Hi NeilHacking,

    The issue is specific to Google Chrome?

    If the problem is specific to Google Chrome, I recommend you to ask your question in this link:

    http://productforums.Google.com/Forum/#! Forum/chrome

  • Windows Media Player 12 volume up-down does not work with the mouse scrolling

    Windows media high-low Player volume does not work with mouse scroll... why?

    It is a simple function just add this option... plse something... wish...

    Hello

    I suggest you submit your feedback using the link below.

    http://mymfe.Microsoft.com/Windows%207/feedback.aspx?formid=195

  • The horizontal scroll bar is not here on some websites.

    The horizontal scroll bar is missing when I visit certain websites. This is one of the Web sites, but there are many others still: http://www.fixya.com/support/t23137801-cannot_connect_android_tablet_arris

    I know it is contained to the left or to the right of the portion of the screen I see because I can get by using the arrow keys on some Internet sites. On other sites, the arrows do not move the screen, but I know that it is contained on the side because I can see the edges of the images and buttons.

    I tested two other browsers on the example site that I mentioned above. Internet Explorer does not have the problem, Chrome has the same problem with the scroll bar, like Firefox.

    This problem is tolerable on Web sites were the arrows are a substitute, but on other sites, it makes the site unusable.

    I have disabled all browser extensions, and that did not solve the problem. Change the screen resolution has no effect on the problem. I use Windows XP on a ten year old desktop computer. Windows updates are installed automatically.

    McGyver

    While I don't see anything poking out around the edges of this page, I'm blocking part of the content of the site (e.g., Facebook integration, text-link advertising), so very likely your seems different from mine.

    When you compare IE on the same page, what types of photos/buttons do you find on the edges?

    She brings the peripheral from the edge elements if you zoom 'out' of the page holding the key Ctrl and tapping the button several times? You can return to your preferred zoom level by holding the CTRL key and tapping the button you like +.

  • X 1163 projector shows smaller than the computer screen image and creates the horizontal scroll bar

    I just bought an Acer X 1163 projector for use in presentations. I like the brightness, size and features. I am disappointed to make a PowerPoint slideshow, you need to buy another remote, but it is an easy fix.

    Here's what's really about me!

    When I pull a Web site or other things on my laptop for the presentation, it has a horizontal scroll bar and does not fit it on the screen. I tried different settings and who are seeking an answer online, but can't find what I can do to get the image to display without a horizontal scroll bar.

    I'm almost beginning to panic that I bought this for a large presentation I have to give next week. I hope it's one of those stupid questions with an easy answer.

    Thanks in advance for your help.

    My techy boyfriend just called. Here is the solution. (It kills me when someone has a question asked and more later said: "never mind, I figured it" and never says how do to the next person to come.)

    The question seems to be in the computer resolution setting and how it automatically resets when plugging n the projector. To resolve this problem (at least in windows 7) follow these steps:

    Right click on the desktop

    Click on display

    Click on change display settings

    Select the 1366 x 768 resolution

    It shows exactly what I'm looking for now on my computer.

    Thank you for having a forum to ask in all cases

  • How to activate the right scroll bar in the menu pane?

    I went into system preferences > scrollbars to display > always

    This has not done it... the lower bar appeared, and yet the right scroll bar does not?

    (right sidebar appears in the edition of text, MS word & web browser... but not the menus...)  That is to say. When you click on hard disk, files, etc.)

    (El Cap 10.11.2)

    Have you tried to access a Web site or application that requires you to scroll down?  If there is no need to scroll down, there is no present vertical scroll bar, the same as if you don't need to scroll to see everything, it won't get a horizontally.

  • The mouse scroll wheel stopped working after windows updates

    I have a Targus optical mouse with a scroll wheel; and he recently worked like this: when you use the scroll wheel in multiple windows, it would scroll the window (to move the vertical scroll bar) goes up and down.  It was a huge time saver, and I was used to it.

    I installed recently a whole bunch of patches from microsoft, including Windows 7 SP1 and Microsoft Mouse and keyboard Center.  The device is not listed in the center of the keyboard and mouse MS, but there is always a control-> mouse Panel.

    In Control Panel-> mouse, it has still the tab saying "wheel" roll the mouse to a notch wheel to scroll the rows x number of rows (it is selectable, I had 3, but tried to change as well); but it no longer works.  Now, it seems, I have to press the wheel to click, which then shows a circular scroll up/down, icon, and then I physically move the mouse up and down, and if I push down to click again on the wheel, I'm back to a regular movement of the mouse pointer.  It's MUCH more inefficient than the use of the wheel, so I'll try to figure out how I can get the drive working again.

    Should I uninstall MS Mouse and keyboard Center?  I thought about uninstalling and reinstalling the driver; but there is no mouse listed in the Device Manager (only has my touchpad there...)  It's a Targus optical mouse amu10usz; and even once, it was working fine before the installation of upgrades...

    Thanks for any help,
    A.J.

    Hello

    What is the number and the model of the computer?

    I will suggest you to check the mouse with different USB port or another computer, still question remains the same! Follow the mentioned methods:

    Method 1:

    Step 1:

    Update driver mouse

    a. click on start.

    b. click on Panel.

    c. using the drop down next to the opinion of: in the upper right, select large icons.

    d. click on mouse.

    e. click on hardware tab, click the Properties button.

    f. click on the driver tab, click set to update driver.

    Step 2:

    Uninstall the recent update and look for the question. You can first of all uninstall the update MS Mouse and keyboard Center and check.

    http://Windows.Microsoft.com/en-us/Windows7/remove-an-update

    Method 2:

    Hardware devices do not work or are not detected in Windows

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

    Method 3:

    The problems with the mouse button or scroll the parameters

    http://support.Microsoft.com/kb/303091

    I hope that helps!

  • Move the vertical scroll bar of the Panel to the left of the Panel

    I have a skin Panel with the following:

    <s:Scroller id="contentScroller" height="100%" width="100%" 
                     horizontalScrollPolicy="off" verticalScrollPolicy="auto">
        <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"/>
    </s:Scroller>
    

    For the life of me I can't understand how to move from contentScroller to the left of its container.

    I tried setting contentScroller x, y, up, left, down, right, the properties height and width to different values, but what I have in the extract seems to be the only way that it appears at all.

    Based on the research, I tried this in the script of the skin:

    override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {
        super.updateDisplayList( unscaledWidth, unscaledHeight );
        if( contentScroller.visible ) {
            //contentScroller.verticalScrollBar.x = 0;
            contentScroller.verticalScrollBar.x = -contentScroller.verticalScrollBar.width;
        }
    }
    

    Or lines in the if block makes no difference as to where this thing is rendered.  Here's a screenshot of my Panel:

    crap.JPG

    And here's what I would do:

    crap2.JPG

    Thanks for the research!

    I found a solution.

    I removed the code in the script block and I went back to a scroller in the mxml.

    
        
    
    

    I thought that I could set the vertical scroll bar by creating a skin based Scroller.  In the generated file, I saw this:

    Scroller unconditionally sets its skin's layout to private layout
    implementation that handles the scroll policies.  Scroller skins can
    only provide replacement scrollbars.  The skin's layout and
    constraints or dimensions set on skin parts will not be honored.  To
    gain more control over the layout of a viewport and its scrollbars,
    instead of using Scroller, add them to a Group and use the ScrollBar component's
    viewport property to link them together.
    

    So I then changed my skin Panel to look like the following:

    
        
            
        
        
        
            
                
            
            
        
    
    

    Finally, I added the following to the script block for positioning controls correctly:

    override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {
        verticalScroller.left = topGroup.height;
        contents.left = verticalScroller.x + verticalScroller.width;
        super.updateDisplayList( unscaledWidth, unscaledHeight );
    }
    
  • move the vertical scroll bar in a table

    Hello

    In my VI front panel contains a table of results with the visible vertical scroll bar.  When the program runs a performing a test, I am inserting a line every time the captured result.  The row is inserted in the lower part, and when all the visible lines are met you can not see the final result.  What I want to do is either focus on the last row to move the vertical scroll bar or move programmatically control scrollbar itself.  Is this possible?  If this is not the case, what is the property node that I need to display the last line of a table.  I have inserted the data at the top of the table, but this isn't really what the standard application programs do!

    Thank you

    Martin

    See attachment...

    Dan

  • When you use the side scroll bar, it will automatically return to the top of the page

    When I'm on a page and use the side scroll bar, I scroll down, but as soon as I stop, it automatically back upward. Can you help me?

    * original title - fix side scroll bar *.

    Hello

    I would suggest that test you the problem in Safe Mode with networking and clean boot.

    What are results in Mode safe mode with networking and clean boot?  After the return.

    If the problem persists in both modes, I would like also to suggest that you reset the mouse settings to check the issue. -Arthur Li - MSFT

    Go to the site of the manufacturer of the computer and search for updates of your video card drivers. -Marilyn O - moderator

  • Instability of the vertical scroll bar of the Panel

    Win 7 Professional, SP 1, 64-bit on a Lenovo ThinkPad. The vertical scroll bar on the "Programs and features" Control Panel suddenly is so unstable that it is impossible to click on a title. Agitation is present both a Logitech mouse and ThinkPad track point device, well even more so with the mouse. The mouse driver is up to date, and the batteries are charged.  The instability of the scroll bar does not seem to occur in all areas of the Control Panel, but appears on some menus of Windows Explorer, to a certain extent on this page (I have difficulties to access the submit button) and some Internet sites. Word so far.  What do about it?

    Hello

    Thanks for posting your query in Microsoft Community Forum.

    1. You did it no particular change in the computer before the show?

    Please, try the following suggestions and check.

    Method 1: Start your computer in safe mode

    http://Windows.Microsoft.com/en-us/Windows/Start-computer-safe-mode#start-computer-safe-mode=Windows-7

    If the problem does not occur in safe mode or safe mode with network and then places the machine to clean the start State and check if helps you solve this problem.

    Method 2: Run the clean boot

    Put your system to the clean boot state helps determine if third-party applications or startup items are causing the problem. You must follow the steps in the article mentioned below to perform a clean boot.

    See the link to perform the clean boot.

    How to perform a clean boot in Windows

    http://support.Microsoft.com/kb/929135/en-us

    Note: See 'How do I reset the computer to start normally after a boot minimum troubleshooting' to reset the computer starts normally after troubleshooting.

    Let us know if the problem still persists. We will be happy to help you further.

    Thank you

  • PSE Organizer 13.1 - the mouse scrolling problem

    Scrolling of an image to the image using the mouse scroll wheel worked well in 13 of the Organizer. After the upgrade to 13.1 scroll forward is no longer working, but rear scroll still works fine. Is this a bug in the program, or something I'm doing?

    Already reported and recognized by Adobe.

    http://feedback.Photoshop.com/photoshop_family/topics/scroll-after-update

  • The horizontal scroll bar on the timeline in Premiere Pro 5.5 disappeared.

    The horizontal scroll bar on the timeline in Premiere Pro 5.5 disappeared.

    Restart your computer, hold down the alt + shift while opening the first up to the Welcome screen.

    See if this will help.

    If not, reinstall and use cleanertool

    Use the CC cleaning tool to resolve installation problems. CC, CS3 - CS6

  • Help to remove the double scroll bar!

    Having a problem when I export this site on BusinessCatalyst. At first I thought it was only with IE and Mozilla, but it seems that Chrome is also not me...

    I have a double vertical scroll bar when I load the site, it is an example for a future customer, but I can't seem to get rid of the double scroll bar.

    I think that the problem should be with the file global css but still cant fix it! Help

    * edit *.

    http://bgchawthrone.BusinessCatalyst.com/index.html

    Post edited by: Lightbonds * I forgot to add the link

    Thank you for posting.

    You are right, its in the global css file. Please refer to this screenshot: https://screencasteu.worldsecuresystems.com/aish/2013-04-24_2225.png

    I unchecked overflow-y: scroll; and the additional scroll bar was missing, as you can see in the screenshot above.

    If you are comfortable with CSS, you can log into the Admin Panel and fix it from here: https://screencasteu.worldsecuresystems.com/aish/2013-04-24_2230.png

    I hope this helps.

    Kind regards

    Scott Raj Rouanet

  • HTP.p (&lt; pre &gt;) and the vertical scroll bar

    Greetings,

    Carl has used the code below for a process of OnDemand
    http://Apex.Oracle.com/pls/OTN/f?p=11933:13:3295006254376178
    Can I set the height and have the vertical scroll bar with the pre tag?
    I tried a div without success.

    declare
    VARCHAR2 (4000) l_Id;
    l_String varchar2 (32767).
    Start

    Select the DESCRIPTION in l_String of "RANDOMDATA' where id = v('TEMPORARY_ITEM');

    HTP.p ("& lt; pre & gt ;'|| l_String | "& lt; / pre & gt ;') ;

    end;


    Thank you
    Tim

    Published by: Tim Arnold on January 18, 2009 08:14

    Hello

    When you tried with your DIV, you specified a width style? I found that it only works when you have this game.

    Something like:

    <div style="overflow-y:scroll; height:100px; width:200px;">
    <pre>
    ...
    </pre>
    </div>
    

    will work, but:

    <div style="overflow-y:scroll; height:100px;">
    <pre>
    ...
    </pre>
    </div>
    

    will not work. I don't know why!

    Andy

Maybe you are looking for

  • The utility Airport and Time Capsule, not appear...

    Hello all! I have an old TC (not sure how old but less than 3 years) which appears in Airport utility on my iPhone but not on my Mac. I have my TC in Bridge mode. During the night, we lost our internet connection so this morning, I restarted my modem

  • No sound effects Apple mail

    I'm not getting no apple mail sound effects. Wehen sending nor how receipt of emails. "Sound of incoming mail. and "To play a sound for other mail actions" are checked, of course. ideas anyone?

  • deletion of the user seems to take more than 1 hour? My iMac stills delete after more than 1 hour?

    Creates an account for a family member. Try to delete but it seems take som time. Is this OK or something wrong?

  • Formatting a new hard drive

    Just bought a new drive hard 500gig. If I use it as an external drive, I need to format it? I f I use it to replace the smallest disk in my Pavilion dv6910 and install the OS, I have to first format? Also, I just bought a HP 2000-2b10nr and think to

  • Keyboard does not work on Acer Aspire laptop running Windows 7

    keyboard on my laptop "Acer Aspire" (Window 7) does not work. In fact, only 5 or 6 keys work at first, but when I try to use the on-screen keyboard, the keyboard does not at all not even one key... I have try several solution, but none of them can he