event for "command to the top button" necessary

Hello

I have a command button which would have the following measures:

While it is pushed down, zoom a graph in a predefined area.

If it is rejected, zoom out

I don't want to use a toggle button.

What I did: on EVENT_LEFT_CLICK: SetAxisScalingMode to the desired region, if EVENT_LEFT_CLICK_UP set the scale mode for the region of origin.

Therefore, as long as the user presses the button, chart is zoomed in, you like.

Now, there's one small drawback: the user can (unintentionally) 'cheat' and pushing the button, move the mouse cursor away: in this case there is no case of left_click_up more...  I tried using "lost_focus", but this happens only much later, when the user clicks a control. And I tried EVENT_MOUSE_POINTER_MOVE, but it is not practical either: any thrill will zoom out.

Does anyone have a suggestion/tip to get the desired result?

Thank you!

You can then use EVENT_MOUSE_POINTER_MOVE with GetCtrlBoundingRect() to know when the user has moved the pointer of the mouse over the button.  You use the reminder of Panel to do this, because you would not get an EVENT_MOUSE_POINTER_MOVE event in the recall of order once the mouse had moved the off button.  To be more of course, you could also look for EVENT_LOST_FOCUS just in case the user is somehow able to get the cursor of the mouse on the Panel without triggering an EVENT_MOUSE_POINTER_MOVE event somewhere off the coast of the key first.

Tags: NI Software

Similar Questions

  • How can I move the button reload of the page in firefox OSX for next to the back button where it was before I updated.

    How can I move the button reload of the page in firefox OSX for next to the back button where it was before I updated.
    I know there is an addon for windows Classic theme, but I need a fix for osx... its very frustrating when you update and things like this change and can be customized to the way we are used to using the browser. his counter intuitive to have the page button refresh so far from the back and home buttons.

    never mind, I found the preferences in the addon manager... Thanks again!

  • Spare part for print to the top of my outlook express e-mail accounts can't get.

    Spare part for print to the top of my outlook express e-mail accounts can't get.

    Save an attachment to disk.  Then open it.  Then try to print it.  If you print messages of OE, then seewww.oehelp.com/OETips.aspx#12
     
    Steve
     

    Spare part for print to the top of my outlook express e-mail accounts can't get.

  • My battery stopped charging. For four days, the power button says "59% available (plugged in, does not support)."

    * Original title: charging the battery

    My battery stopped charging. For four days, the power button says "59% available (plugged in, does not support)."

    How can I get the computer to start the battery again?

    The battery is probably faulty. You can say as follows:

    1. Shut down Windows.
    2. Remove the battery.
    3. Wait an hour.
    4. The power supply is cold? If Yes, then the laptop consumes no power (which is normal).
    5. Insert the battery.
    6. Wait an hour.
    7. The power supply is hot? If so, the battery is recharged.
    8. Start normally and check the charge level. If she's still around 59% while the battery no longer accepts the full load. You need to replace it.
  • After a windows down I must reinstal Foto shop 13 items. I have a good internet connection, but the program cannot make a connection for singh to the top.

    After a windows down I must reinstal Foto shop 13 items. I have a good internet connection, but the program cannot make a connection for singh to the top.

    Log, activation, or connection errors. CS5.5 and later, Acrobat DC

  • Is there a way to create a jump to the top button in the Pages?

    Hello! I want to insert a 'Top' button in my foot that will allow me access to the first page of any page in the document. I tried to create a link, but could only get me a link to a url or an email address. Thank you!

    Pages v5.6.2 (any Pages v5 version) does not support intra-document hypertext links, or type of web page buttons. Use the House key on an Apple extended keyboard or command + arrow up on the Apple wireless keyboard, to access the first page of the document.

  • The purpose of using the mailto: command in the submit button

    Hi all

    I tried to use the process of Distribution of form in Acrobat and I fall on a disappointment. I have observed that, if I send using the form Distribution process, Acrobat will go to Preferences > identity > Email address to retrieve the email from there.

    It would mean everything what I had done in the properties button to set an action for mailto:whateverEmailAddress is ignored. UH... I want to add an object or a string CC , which would be ignored as well imagine!

    Can I know what is the point of having a mailto link: command is ignored in the first place! If I can't ignore the mailto: command completely?

    All inspiration on this issue would be appreciated!

    See you soon!

    If you just want to use a different email address, it is much simpler to temporarily change the identity email address preference setting. The only reason to change the script that Acrobat adds when a form is distributed is if you want to change one of the other setttings E-mail as the subject line and the body of the email. I can help with this, if you are really interested.

  • What is the problem since most of my e-mail messages are not displayed when I search for them in the top search bar? They're there, but will not be displayed in my search.

    In the past, I've always been able to search a specific e-mail from a client in the search bar up in Thunderbird, and most of my emails now not appear to customers more. They are there, but I have to physically to scroll through all my emails and find them. It is not practical at all, and they have not been deleted, so they should show up in my research. Do you know what I should do to get this working properly again?
    Thank you!

    Thanks for the screenshot. This looks like a global search. More information in this article.
    https://support.Mozilla.org/en-us/KB/global-search
    Note, for a global search to work, it must be enabled in your settings, and the index must exist. In certain circumstances, it may be necessary rebuild the index.
    https://support.Mozilla.org/en-us/KB/rebuilding-global-database

    You can also try the quick filter toolbar.
    https://support.Mozilla.org/en-us/KB/quick-filter-toolbar

  • Back to the top button (href = "#") in the masterpage does not

    Hi all

    I inserted a back button at the bottom of the masterpage upward. When you publish the Webhelp, Robohelp changes the path of ' # 'for'...-... " \#". Problably the program tries to adjust the path to the path of the corresponding section (as with a regular link).

    Is there a way to force Robohelp just to keep the href, as it is (other than in one folder to all the themes and the masterpage?

    Robert

    I changed the links in href = "javascript:scrollTo (0,0);" ' now and it works very well.

  • Add back floating to the top button (was: Adobe Muse)

    Is it possible to add a button of 'back to top' floating in a site?

    Hi Helen

    Please send me your file to Muse at [email protected] with this link of post of forum in the subject line.

    Thank you

    Sanjit

  • How do I change the language displayed, for example at the top of my page, my file option is now spelled Bestand, Edit is Bewerken etc. I'd like to go back to English

    I tried to change the language using Extra (Tools), but that didn't work. Also, I can't read what the options are.

    This has happened

    Each time Firefox opened

    Is a week ago

    Hello Tony.

    You must download the version you want (see this this page for all systems and languages), uninstall the one you have (no data is lost) and install the version that you just downloaded. You can choose not to uninstall your current version and just install the new version in a different location, but who can create a mess for inexperienced users.

  • Can not turn mp3 audio sync of the event for broadcast on the timeline

    I imported an mp3 Flash CC file and put it on the timeline. Audio synchronization in the properties only allows you to 'event '. I need to be stream so I can rub her. Any help much appreciated.

    HTML5/canvas only supports the sync event property.

  • Smartphone blackBerry OS with the top PASSWORD Lock button

    Hello

    To begin, I HATE how the top button snaps no more. I just updated my OS to the latest version.

    I would like to know the most recent operating system that still has the lock button high locking with password lock.

    NO ALTERNATIVE SOLUTION (for example press alt + entry, set the convenience etc keys)

    I used to have a 5.0.0.4xx, and now it's 5.0.0.6xx or something. I did some research and I think that the newer operating system with the password lock is 5.0.0.536.

    Can anyone confirm or deny? I have to go with an older OS?

    loaded 5.0.0.415 on the phone and the locking password works.

  • No Save button in the top bar?

    I can't figure out how to put the buttons that I use a lot in the best bars, such as save, new, etc..  I just upgraded to use Photoshop Elements for 10 years to Photoshop CS5.  I'm not a fan of the use of shortcuts, I prefer to use the top button bar.  There are a ton of real estate not used to these bars, and for the life of me I can't figure out how to do this.  I did research on this forum, other forums and am perplexed at the lack of anyone to another pretend to look for this feature.

    Thank you!

    -Web

    No, there is no button Save in the full version of Photoshop.

    Use the entries in the file - Save or file - record under menu.  The hotkey Control S makes a file - backup operation.

    -Christmas

  • Help with a table for the many buttons of MC

    Hello. I am a very new flash user and working on a flash project that has 50 movie clip buttons.

    Each button will be different so I plan to 50 buttons in the library. Each button will have 4 States - upward, downstairs, Upover, & Downover. There are 4 keyframes button, 1 for each State, with a stop() on each keyframe.

    Action script I have to press '1' is attached at the end.

    Ok. Here's where I'm stuck. What I want to do is to use an array to store the value true or false for each of my buttons so I hope I did not copy and paste this code 50 times and change the name of the button. It seems that I should be able to use the 1 section of the code to change the State of some I press the button. I just don't understand the tables and how a MC to refer to a table.

    Everyone mind help me a little?

    Let's back up a step or two. This actionscript as I wrote it is expected
    to be placed in a space of script of frame on the same scenario as the buttons
    themselves. Each button instance must have an instance name, "btn1",.
    ETX. I guess you did. These button instances must be in
    the same framework that the ActionScript. In other words, if the buttons exist
    in frame 1, then the ACE should also be Framework 1.

    1. the button instance names table must have a relative to path
    each of the buttons. The names cannot have quotes around them. The
    reference is the name and path of the instance. So, if the buttons are
    an another movieClip then you should include the name of the element with the
    each button name: example (buttonClip.btn1, buttonClip.btn2, etc.). This
    It is essential for the second part to work properly.

    The loop will use the references button in the table and assign the
    enabled property and its value for each button, then it will assign each
    the functions of each button. This is what you were after,
    a function that will work for each event for each of the
    buttons.

    Given the reference to instances of button is false, all the rest
    will fail.

    Take a look at this example,
    http://www.DDG-designs.com/downloads/arraySample.zip, this should help
    to explain the process. In this example, the buttons are in a movieClip.

Maybe you are looking for

  • Transfer photos from iPhone for iMac without putting in photo library

    Is there a way I can import pictures from my iPhone iOS 6 9.3.4 to my iMac (os x yosemite) without importing it into a library file. I just want to import them into a folder so that I can access it from other computers on my network. Thank you

  • OfficeJet 4500 g510g does not print

    There has been no change to my computer, operating system, settings, etc. but my printer is printing suddenly is longer.  I was able to print the test page directly from hp.  I can copy and scan. I can 'see' the printer and all settings seem correct.

  • issue of games

    a windows box keeps popping up on my screen. "It says" check license game has stopped working "any idea what it is?

  • Unable to connect Microsoft Sculpt Touch Mouse mouse

    I have an Inspion N5030 running Windows 8 with Bluetooth 365 Dell installed chip. Until recently, I could use my chip to connect a Sculpt Touch Bluetooth mouse, but lately, I'm not. When I place the mouse in discovery mode I am able to see the mouse,

  • Why won't my computer back up manually?

    My computer will not save. I keep getting error messages.Now, I get an error message that says. The backup application could not start due to an internal error.The service does not start because of the failure of connection. (0x8007042D