Button to run the code block.

Hello.

I want to execute a block of code with the push of a button, but I can't find the solution.

My vi is attached. Any help is welcome.

Thank you.

Hello vakost;

A few points:

-L' mechanical action of your Boolean is ready to "lock when published. In other words, it will reset to False after having read once.

-You have no calendar control software in your loop, it is what is known as a "greedy loop" and run as fast as it can possibly

For this reason, your true case runs, but that one time when you release the button and the button will be reset to False until you see probably because the loop runs probably thousands of times per second. If you enable execution highlighting to slow down execution of the VI to something, that you observe, you should see the Boolean indicator lights briefly before you reset it.  You must always place a wait function inside your loop to slow things up to a reasonable speed, however.

Some other tips:

-You only required to place the indicator Boolean inside the structure of business if you want to update in two cases (that you use a value of property in the other node) - just place it outside of the structure and the value you want to set out the case of wire

-You created a while loop without stop condition, and VI must be abandoned to stop it.  Generally, you'll want to give the user a stop button to get out of the VI, abandonment is almost never a good idea.

Kind regards

-You don't need really the case structure in this case, he could just wire the Boolean OK button directly to the indicator.  My impression is that it's just a conclusive example or experience in how cases structures work, however, it's probably fine.

Hope that helps!

Tags: NI Software

Similar Questions

  • URGENT::opening multiple files - i have 3 files in my directory... When I run the code I can open a file and read it... but the while loop get blocked after the first iteration... can someone me help or give some indications

    bbmChatDB of public database;

    public static FileConnection fconnRead = null;
    public static String fileReadData = "";
    public static InputStream is = null;
    data Byte [] = null;
    DataInputStream is = null;

    Here is my code...

    I have 3 files in my directory... When I run the code I can open a file and read it... but the while loop get blocked after the first iteration... can someone me help or give some indications

    try {}

    FileConnection fc = Connector.open("file:///store/home/user/documents/BSM/") (FileConnection); "

    If (fc.exists ()) {}

    Enumeration e = fc.list ();

    While (e.hasMoreElements ()) {}

    System.out.println ("files are:" + (String) e.nextElement ());

    play this file
    StringBuffer stringBuff = new StringBuffer();
    try {}
    System.out.println ("opening file")-;
    System.out.println ("file name is:" + (String) e.nextElement ());
    fconnRead = Connector.open("file:///store/home/user/documents/BSM/(String)e.nextElement(),Connector.READ_WRITE) (FileConnection);
    System.out.println ("data length")-;
    If (fconnRead.exists ()) {}
    is = fconnRead.openDataInputStream ();
    data = IOUtilities.streamToBytes (is);
    Ddd = new String string (data);
    fileReadData = ddd.toString ();
    System.out.println ("length of data:" + fileReadData.length ());
    System.out.println ("read data :" + fileReadData);

    }

    } catch (IOException ee) {}
    ee.printStackTrace ();
    System.out.println ("Exception in the read data :")
    + ee.getMessage ());
    }

    }
    }

    } catch (IOException e) {}

    e.printStackTrace ();
    }

    {Finally

    try {}
    If (is! = null) {}
    is. Close();
    }
    System.out.println ("is closed...");
    } catch (IOException e1) {}

    E1. PrintStackTrace();
    }

    If (fconnRead! = null) {}
    try {}
    fconnRead.close ();
    } catch (Exception e) {}
    System.out.println (try ());
    }

    }

    }

    You can recode this treatment so that it uses only:

    e.nextElement ())

    Once a loop iteration.

    Directly at the start saying something like:

    String fileName = e.nextElement ());

    and use fileName everywhere in your loop.

    Also be aware that printStackTrace() will do nothing in your situation, it only works if you catch Throwable.  So make sure you something output all your catches exception and also have a catch (Throwable t) to catch the things you miss, as follows:

    {} catch (Throwable t)

    t.printStackTrace ();

    System.out.println ("Eception exception:" + t.toString ());

    }

    I think your code is thrown an exception and you don't see it.

  • Run the code once when loading the form

    Hi guys,.

    I have a text field (TextField1), which fills with a value (1-100)

    During the initial loading of the form, this value will be the highest.

    When the user navigates around the shape, this number will change (lower than initial load)

    I have another text field (TextField2) on the form I want to keep the original value to the loading of the form.

    something like: TextField2.rawValue = TextField1.rawValue

    But any event that I put in it always updates TextField2 with TextField1 value (not does not run the code once when loading the form)

    Can someone tell how can I do this?

    If the form is loaded with the number 70 as a value in TextField1 - TextField2 has 70 as a value and maintains this value regardless of what TextField1 goes to...

    Thanks a lot for any help

    try putting in the TextField2 docReady event:

    $ = TextField1.rawValue

  • Must click the button twice to run the code in the Click event.

    I have a button that has the following code to the click event.
    _SubFormS.setInstances (0);

    Last week, I added the code on the Exit of the next button event.
    xfa.host.setFocus (Subf.ButtonRemove);

    For some reason, I have to click twice for instance 0 value. It's never happened before. If I comment the code on the same output, nothing changes. Ideas of this weird behavior.

    Thank you.

    Hey, 1996

    It seems to me that you have a setfocus soomehwere which is always of the substitution of the click event. For example, if you have a field that does not check if (xfa.event.commitKey == 3) before that setFocus is called, it doesn't matter what other field (or button) you click on, you will be sent to the field specified by the setFocus. 'Double click' isn't a double click, it's a click that is substituted by a setFocus (which sends you somewhere else) then a second click which is not interrupted by a setfocus, which means you can click on the button.

    I don't think I have explained myself well, so here, step by step what I think is happening:

    -You are currently in an area that doesn't have that a setFocus without checking the commitKey.

    -You click on the button.

    -Due to the setFocus, you are sent to another field that does not have the button. This means that the button never fires the click event. the second field that you are sent to has the good commitKey checks.

    -You click on the new button,

    -This time, because the new field that you are in control of the good commitKey, you are not sent to another discipline, and succeeded to your click.

    I hope it did a good job of explaining my guess as to what is happening. Check all your output events to ensure that they all use the If (xfa.event.commitKey == 3) then bit. having forgotten one would explain why that happen all the time... it only occurs when you try to click on the button while you're in the field wihtout the cheque of commitKey.

    Let me know if this is useful,

    -Scott

  • PowerState situation - problem with the code block - returns false, but seems real to list extended properties

    If this provision of the code (part of a script a lot bigger) seems to not work properly.  It returns false when it should return true.  Basically I want my script to verify that virtual machines are turned on by the admin of the script running.  There will be a break in case of failure and then press a button to try again.  Here is the block of code (which I have shared out in his own script to test).

    #Import the CSV
    $vmlist = Import-CSV d:\scripts\migration.csv
    
    #validate VMs are powered up on the new vCenter
    foreach ($item in $vmlist) {
      $vmname=$item.vmname
      $powerstate = (Get-VM $vmname).extensiondata.Guest.PowerState -eq "poweredOn"
      IF ($powerstate -eq $false) {
      write-host ""
      write-host "$vmname has failed to start, please confirm the VM is up.  Script will pause." -foreground Yellow
      write-host "Bring $vmname backonline then" -foreground Yellow
      Write-Host "Press any key to retry..." -foreground Yellow
      Write-Host ""
      $null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown')
      }
         ELSE {
      write-host ""
      write-host "$vmname is powered up, script will continue" -foreground green
      write-host ""
      }
    }
    

    To list extended properties, it returns the correct information:

    PowerCLI D:\scripts > Get - VM ATEST-VM002 | format-list *.

    PowerState: receiving

    When I run in the script with the extensiondata. Guest.Powerstat, it returns false.

    PowerCLI D:\scripts > .extensiondata (Get - VM ATEST-VM002). Guest.PowerState - eq "receptor".

    Fake

    What should we not

    . ExtensionData (get - VM $vmname). Runtime.PowerState - eq "receptor".

    But why look in the ExtensionData that same property is exposed as (Get - VM $vmname). PowerState

  • Run the code from the jar java fixed pitch

    Hello

    based on article

    https://supportforums.Cisco.com/document/98986/UCCX-quick-Java-recipes

    I copied the code of 1). and they changed a bit for my daysx24hours. The only type is, give the script a parameter (here the number of credit card and return the result of UCCX (perhaps the last type is missing).)

    The following code:

    ###############################################################################

    public class ClassCheckCC {}

    Public Shared Sub main (String [] args) {}
    TODO self-generating method stub
    String ccnumber = args [0];
    String ccnumber = "66666666666666666";
    int isValid = 99;
    isValid = verifyCC (ccnumber);
    System.out.println (IsValid);
    }
            
            
            
            
    private static int verifyCC (String ccnumber) {}
    int sum = 0;
    Boolean alternate = false;
    Boolean isValid = false;
    try {}
    int i = 0;
    for (I = ccnumber.length () - 1; i > = 0; i--) {}
    int n = Integer.parseInt (ccnumber.substring (i, i + 1));
    If {(acting)
    n = n * 2;
    If (n > 9) {}
    n = (% n 10) + 1;
    }
    }
    sum += n;
    Alternate =! alternate;
    }
    isValid = (sum %10 == 0);

    } catch (Exception e) {}

    Returns - 1;

    }

    return (isValid == true? 1: 0);
    }
    }

    ###############################################################################

    In Eclipse, I create a new java project named "CheckCreditCardNumber" and insert this code into the new project. The name of the new class is 'ClassCheckCC '. I created a "CheckCCNumber1.jar" executable jar file This will work as expected in a DOS window.
    I call it this way: java-jar CheckCCNumber1.jar 1234567890123456

    The number represents a credit card number.

    In my opinion, always ready to implement in UCCX.

    JAR file downloaded on UCCX (you can find it in an attachment here), moved to the right side (to the Classpath entries. selected :) Some service restarted. Do some tests to access the file and can be seen in UCCX Editor.

    Then, I created a new script file and inserted a defined step

    takes it place the following errors:

    But the result expected from the byte type (-1.0 or 1) java code. Shit, I declared the variable isValid as string occurs:

    We try to call java code:

    Next, the error message is different:

    Yes, here are my questions. What wrong? Where can I call this java code little success.

    I know, it s possible to run code without additional jar files. I am interested to implement more than java classes in a jar file for future needs, and this is a first step.

    Greetings Naatz Maic

    Hello

    UH... Let's get a few things right if you don't mind.

    Your class is valid, as you say, you tested with Eclipse, which is a fair way to go. You have two methods, 'main' and a private static "verifyCC" returning an int value. Good. Now, if I take a quick glance at your UCCX script I see some interesting things there. First, you create a new variable of type ClassCheckCC, with the name CheckCC and with null as default. Cool, that's like saying JRE of UCCX for "Hey, let's use a new variable of type ClassCheckCC", or more precisely:

    ClassCheckCC CheckCC = null;

    Alrighty. Then, you kind of try to value of isValid saying CheckCC (ccnumber). Why it's wrong: in Java, it does:

    isValid = CheckCC (ccnumber);

    You see already? The above code actually means:

    isValid = null (ccnumber); Not valid!

    CheckCC is null.

    Let's try a slightly different approach:

    public class CheckCC {}
    Public Shared Sub main (String [] args) {}
    System.out.println ("Move along, nothing to see here, call verifyCC (String s) instead. ');
    }
    public static int verifyCC (String ccnumber) {}
    int sum = 0;
    Boolean alternate = false;
    Boolean isValid = false;
    try {}
    int i = 0;
    for (I = ccnumber.length () - 1; i > = 0; i--) {}
    int n = Integer.parseInt (ccnumber.substring (i, i + 1));
    If {(acting)
    n = n * 2;
    If (n > 9) {}
    n = (% n 10) + 1;
    }
    }
    sum += n;
    Alternate =! alternate;
    }
    isValid = (sum %10 == 0);
    } catch (Exception e) {}
    Returns - 1;
    }
    return (isValid == true? 1: 0);
    }
    }

    You may have noticed that I made a few adjustments. I renamed ClassCheckCC to the simpler CheckCC, I changed the method of verifyCC to the public modifier. It's actually a great example of a utility class where you have not all instances, so we should let JDK code optimization.

    Using this approach, we don't need to create instances of the object - that they are unnecessary in this case. Simply call CheckCC.verifyCC (String aString) is quite sufficient. We can, as I will demonstrate, but then again, why should create us instances of the class each time a script is run.

    The following three constructs are valid (assuming that I have created the necessary variables: val, validCCNumber, and invalidCCNumber):

    Valid value = CheckCC.verifyCC (validCCNumber)

    Pure and simple. I simply call the static verifyCC method on the CheckCC class with a parameter.

    The valid value = {return CheckCC.verifyCC (invalidCCNumber) ;}

    I just padded the single line above with braces, creating a block of code, point comma and the return keyword became necessary.

    The valid value = {CheckCC instance = new CheckCC(); return instance.verifyCC (validCCNumber) ;}

    Now, it's quite redundant but functional example. I created an instance of the CheckCC class, named instance and then ran the method verifyCC on the newly created class instance. Once again, it is a situation when a developer is boring and has nothing better to do than to create instances of the class and sending them to the eternal bytefields.

    G.

    Here is a screenshot:

  • Run the Code in a Java Applet

    I'm calling a Java to Javascript applet. The Java code must run in privileged mode.  Eventually it will display a file selector that allows you to view files on the local hard drive, but for now, she simply returns a dummy value simple.  The problem I have is that the JavaScript to Java call return PrivilegedActionException. The applet is in a signed Jar file.  I'm under 8u25.

    This is the Java class:

        // Java code
        public class OHLib extends Applet {
    
            public String getFile() {
                String result;
                try {
                    result = (String) AccessController.doPrivileged(new PrivilegedAction() {
                        public String run() {
                            // JFileChooser code will go here
                            return "xxx";
                       }
                    });
                } catch (Exception e) {
                    e.printStackTrace();
                }
                return result;
            }
    
        }
    
    

    Can someone tell me what's wrong with this code?  I would also be interested to know why the try/catch block above does not catch the exception.  The only place where I see the exception is in browser F12 developer tools.

    Here's the JavaScript code:

        function BrowseForFile() {
            var x;
            try {
                 // this code generates PrivilegedActionException
                 x = ohApplet.getFile();
            } catch (e) {
                 console.log(e);
            }
    
        }
    
    

    The applet is deployed on my web page as follows:

    <script src="/plugins/deployJava.js"></script>
    <script>
         var attributes = { 
             id:'ohApplet',
             code:'OHLib',
             codebase: 'java',
             archive: 'OHLib.jar', 
             width:1, 
             height:1,
         } ;
         var parameters = { 
          jnlp_href: 'OHLib.jnlp',
          classloader_cache: 'false',
         } ;
         deployJava.runApplet(attributes, parameters, '1.8');
    <script>
    
    
    

    The applet is in a jar signed with the following manifest file:

    Application name: < appname >

    Permissions: permissions everything

    CodeBase: < domain > .dev < domain > ".com"

    The appellant eligible Codebase: < domain > .dev < domain > ".com"

    Application library eligible Codebase: < domain > .dev < domain > ".com"

    The JNLP file is as follows:

        <?xml version="1.0" encoding="UTF-8"?>
        <jnlp spec="1.0+" codebase="" href="">
    
            <information>
                <title>title</title>
                <vendor>vendor</vendor>
            </information>
    
            <security>
                <all-permissions />
            </security>
    
            <resources>
                <j2se version="1.8+" href="http://java.sun.com/products/autodl/j2se" />
                <jar href="OHLib.jar" main="true" />
            </resources>
    
            <applet-desc 
                 main-class="OHLib"
                 name="OHLib"
                 width="1"
                 height="1">
             </applet-desc>
        </jnlp>        
    
    

    The problem was that I was not including the anonymous inner class (OHLib$ 1.class) in the jar file. My original CD jar command looks like this:

    jar cfmv OHLib.jar "../../jar_manifest.txt" OHLib.class
    

    Change to below solved the problem:

    jar cfmv OHLib.jar "../../jar_manifest.txt" OHLib.class OHLib$1.class
    

    Credits go to this page for the solution.

  • Why can't I just run the code developed in Lookout Lookout 6.5 6.2?

    Our client has developed the code in point 6.2 Lookout. Now that they have purchased Lookout Run Time 6.5 and they are unable to run their code. Is there a limitation that could cause this kind of behavior?

    Thank you...

    They should be able to run the .lks file.

    The .l4p file is not compatible.

    What is the error, they got?

  • Run the Code Labview program on VN8970 vector material

    I would like to ask if anyone has ever tried to run the Labview Code on the material vector in Standaone Mode,

    The VN8970 have a PC as material and I would use as my hardware target.

    Labview programming would go toward, creating / establishing a controller which output is POSSIBLE only.

    Necessary sensor data is on the BUS CAN even output going to the CAN-BUS network.

    The vector hardware box 8970 should run with the Labview code inside and be just like a car engine controller, just a BOX knot...

    Can anyone shade some light on this topic because it is very difficult to collect all the required bits.

    Vector support won't help with that because that intends it to sell their own software, which does not fit this need.

    Far as I can tell the VN8970 has an ATOM processor or a core-i7 on board and running something called vector CANoeRT.

    From the VN89xx Manual:

    "The family of interface VN8900 offers a stand-alone mode that allows you to measure without any other PC user.

    To this end that a request can be configured in the canoe, which is then written to the NVM of the VN8900. After a reboot, the configura-tion is loaded and the measure began independently. »

    Canoe uses a programming language called CAPL. My understanding is that the code of the CAPL is downloaded on the series VN89xx materials and run directly on the device without the need to be connected to a PC.

    In other words, I don't think there is a way to get a LabVIEW code to run on a VN8970.

    The vxlapi.dll that is used here is intended to be used on a Windows operating system. You can use it to control the VN8970 similar to the other vector material, but not in standalone mode.   I don't know what OS runs on the material of VN89xx but I doubt you'd be able to install a LabVIEW run-time engine on it.

    I think your only option to run a VN8970 in stand-alone mode is to buy a canoe license that allows you to do and learn how to write the CAPL.

  • Cannot run the autonomous block for input of associative array parameter

    Hello

    I have created an associative array in a package-PKG_CMT_DAP

    TYPE r_supply_type_id IS RECORD(
                                   supply_type_id            varchar2(50));
    TYPE t_supply_type_id IS TABLE OF r_supply_type_id INDEX BY BINARY_INTEGER;
    l_supply_type_id t_supply_type_id;
    

    Later created a test procedure with an input of the above kind parameter

    create or replace
    procedure test_prc(p_in_st_id IN PKG_CMT_DAP.t_supply_type_id)
    AS
    v_input1 number;
    v_input2 number;
    BEGIN
    FOR z IN 1..p_in_st_id.COUNT 
    LOOP
    DBMS_output.put_line(p_in_st_id(z)supply_type_id);
    END LOOP;
    END test_prc;
    

    How to update successfully.

    Created a stand-alone as block below

    DECLARE
    BEGIN
    test_prc(p_in_st_id=>(100,200,300));
    END;
    

    Above am past in 100,200,300 as an input string, and the expected output should display all the numbers above on the screen.

    But it throws the below error

    Error report:
    ORA-06550: line 3, column 1:
    PLS-00306: wrong number or types of arguments in call to 'TEST_PRC'
    ORA-06550: line 3, column 1:
    PL/SQL: Statement ignored
    06550. 00000 -  "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:
    

    Could you please help me where I am doing wrong?

    Kind regards

    Claudy Kotekal

    Claudy,

    While calling the procedure, you must declare the variable of type table. Give the values for the elements in the begin block and then pass that variable in the procedure. Something like below:

    Declare

    in_array PKG_CMT_DAP. r_supply_type_id;

    Begin

    in_array (1) .supply_type_id: = 100;

    in_array (2) .supply_type_id: = 200;

    in_array (3) .supply_type_id: = 300;

    test_prc (in_array);

    end;

    NOTE: There might be a few problems with my code syntax, but logic would be same.

    Try this and let me know.

    Thank you

  • This option button who worked, the code no longer works?

    Hello

    I had a forum until a few months ago and got help to get option buttons to work with a button continue, causing Stop on a specific frame in the sequence. (All done it on the main timeline).

    Everything worked fine, now I keep trying it again, but regardless of which button I click, it only goes to the frame 2 where the Novice option button is supposed to go.

    I think the problem is in the line of code that reads:

    var frameNumber = 2 + Number (noviceButton.group.selectedData)

    I know he is set to only go to the area of novice, but my understanding is that since it was radio button, any click button would work, and only, I needed to type in one of the unique instance names.

    Here is the code:

    Stop();

    continueButton.enabled = false

    noviceButton.addEventListener (MouseEvent.CLICK, revealContinue);

    intermediateButton.addEventListener (MouseEvent.CLICK, revealContinue);

    expertButton.addEventListener (MouseEvent.CLICK, revealContinue);

    function revealContinue (evt) {}

    continueButton.enabled = true;

    }

    continueButton.addEventListener (MouseEvent.CLICK, clickContinue);
    function clickContinue (evt) {}
    var frameNumber = 2 + Number (noviceButton.group.selectedData)

    Stop (frameNumber);
    }

    Is there a better way to write this code so that you click any button on the radio, then press on continue, goes in and stops as appropriate frame?

    Thank you

    Babs

    Should I say turn off instead of hide... continueButton.enabled = false

    Based on the output window that appears, but nothing show, I have a moment difficult to conclude what could be bad, except that the radio buttons would need to have empty spaces assigned as their value parameters.  If they have no value I expect to see a null value appear in the output panel.

  • Illegal state Exception when running the code at startup

    Here's my main method:

        public static void main(String[] args)
        {
            if (args.length == 1 && args[0].equals("startup"))
            {
                Criteria locationCriteria = new Criteria();
                locationCriteria.setCostAllowed(false);
                LocationProvider mlocationProvider;
                Location mLocation = null;
                try
                {
                    mlocationProvider = LocationProvider
                            .getInstance(locationCriteria);
                    mLocation = mlocationProvider.getLocation(-1);
                }
                catch (LocationException e) {
                }
                catch (InterruptedException e) {
                }
                QualifiedCoordinates mQC = mLocation.getQualifiedCoordinates();
            }
            else
            {
                MyApp theApp = new MyApp();
                theApp.enterEventDispatcher();
            }
        }
    

    The method

     mlocationProvider = LocationProvider.getInstance(locationCriteria); 
    

    throws the illegal state exception

    When I check the debug information, I found this exception are thrown to the line when he calls Application.getApplication ();

    When I move this code to run in a normal life to screen it works fine. !

    Any help?

    There may be a number of issues here:

    (1) until your Application is actually running, you can't really do any processing.  Your Application does not start running until you

    'enterEventDispatcher() '.

    Hand, all you should do is instantiate your Application.  Manufacturer of your Application should not do anything complicated either, since it works as part of main().

    You can do some activities, for example to add listeners, in main() code that is, in some respects, unfortunate because it lulls people into thinking they can do anything.  ,

    (2) get the location as you do, is a blocking call.  If you need to do it on a background Thread.  You c a get away with that on the Simulator because GPS simulated returns immediately with a location.  So it does not actually block.  But on a real device, code as you can force your application to break.

    (3) you seem to try to do something in the commissioning.  You must be aware, this start-up up is called as part of the start-up of the device and before the unit is fully active.  In fact, I think on a real device that this code will fail because the device is not ready to provide a location in the beginning upward.

    You will find find article, informative and useful for (1) and (3).

    http://supportforums.BlackBerry.com/T5/Java-development/write-safe-initialization-code/Ta-p/444795

    I suspect you want to start and get a location at first upward, in which case you might find this useful:

    http://supportforums.BlackBerry.com/T5/Java-development/create-a-background-application/Ta-p/445226

  • Where to put the code block that is used by several checkboxes in a form

    I'm new to Javascript, please go easy on me.

    I have a form with several boxes on it.      I have a block of javascript code that I want to run any time one of the check boxes on the form is enabled or disabled.

    I know that I can put javascript code in each box properties, but it seems that there should be an easier way to do it.

    Can I create one subroutine somewhere else and call it from javascript for each text box code?

    If I can create a subroutine and call from each text box, where should I put the subroutine?

    Help, please.      Example (s) would be great.

    Here's a good tutorial on the subject of the JavaScripts at the level of the document: http://acrobatusers.com/tutorials/js_document_scripts

  • How to run the code (invisible) after connecting and before the first page of the user.

    Our site has a standard login page that I can't change. But I want to run code 1) after logging in the application (not APEX!) and 2) before the first page of the user of the application. How could I (can I?) put it on a page that runs invisible and then transfers it to the first page of the user application? Also, it would be great for testing I could reiniitalize easily between test scenarios without having to log in again.

    Thanks - Howard

    You could put it on page 0 and condition the process so that it works only on the login page.

  • Run the code to output on output keyboard event and not mouse exit

    It seems that the exit event runs on the cell in the table (text field) when you select a cell with the mouse.  I have had to force a Tab or entry to set the focus keyboard to another cell in another table.  It's pretty easy to take place, but when you select a location with the mouse, the exit event seems to operate and excessive rides of the keyboard focus to the location I'm force.  Is it possible to ignore exit code for the event in case of non-clavier?

    Hello

    The exit event will always when the object loses the focus. Take a look at the end of this example that shows how you can detect how the field was left: http://assure.ly/j1KdNq.

    This early example also considered the development of a field setting when you press on enter: https://acrobat.com/#d=RZ1lzX23 * u7L4N9rtWCYPQ.

    Hope that helps,

    Niall

Maybe you are looking for