Why sometimes I have to click a button twice?

Hi all.


I have a curiosity. Why sometimes I have to click twice on a button for his execution of event?


For example, I have a button that changes the presence of a page to hidden, but I have to click twice to start the event.

Thank you

It could be the problem with the script written in the case of behave this way...

If you could post your script, then it might be easier to understand the question...

Thank you

Srini

Tags: Adobe LiveCycle

Similar Questions

  • Why do I need to click on it twice will display the buttons?

    Hello

    First of all I don't see the buttons (buttons - this is a clip) on stage. When I click on the button display using the following code, I can see my buttons. But first, I have to click twice for the buttons. While the second time there is no problem. How to solve the problem?

    This. Buttons.Visible = false;
    Import fl.controls.Button;

    var myButton:Button = new Button();
    myButton.label = 'Show in Menu';
    myButton.name = "btn1";
    myButton.toggle = true;
    myButton.move (55, 95);
    addChild (myButton);

    myButton.addEventListener (Event.CHANGE, changeHandler);

    function changeHandler (event: Event): void {}

    If (event.currentTarget.selected == false) {}
    Buttons.Visible = true;
    myButton.label = "Hide Menu";
    } else {}
    Buttons.Visible = false;
    myButton.label = 'Show in Menu';
    }
    }

    Thank you and best regards,

    use:

    function changeHandler (event: Event): void {}
       
    If {(event.currentTarget.selected)
    Buttons.Visible = true;
    myButton.label = "Hide Menu";
    } else {}
    Buttons.Visible = false;
    myButton.label = 'Show in Menu';
    }
    }

  • 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

  • Need to click the button twice

    The buttons are contained in a clip.  When you click the button, it starts the clip and makes the page "flip".  It is, if I click back to page 1 and return on page 2, it takes place in two clicks on the button to launch the clip.

    I put this action in the button where "page2" is the name of the instance of movieclip:

    on (release) {}
    _root.Page2.gotoAndPlay (1);
    }

    Thank you!

    first response kGlad was on target.  The stop(); at the end of image 1 the playing time for the first click... instead of gotoAndPlay (1), try to use gotoAndPlay (2);

  • When I open explore the shape does not fill the screen. I have to click the button of "maximum".

    At the same time, stretching the form to fit the window would result in the form still open in full screen.  That no longer works.  Is there a way to make forms of full screen automatically whenever they are open?

    HP Pavilion e9150t Vista 64-bit

    Hello

    I don't know what shape are you talk, but for Windows Explorer, you can use the expand in the upper right. To remember the next time when you use Explorer again.

    Kind regards

  • Create a conditional action by clicking a button twice

    I want an action to run when the learner clicks on a button ONCE. I also want a different action when the learner clicks TWICE on the same key.  How can I do this with a conditional action?

    Conditional actions have sections called blocks of decision, each of which has a condition for the actions below can be executed.

    So in your case you would need three blocks of decision and you will also need a counter variable that is set to 0 by default.

    The first block of decision suffers from a mannequin (like you the above) will always have the value TRUE.  IF 1 is equal to 1 is a good example of a false decision.

    Action under this model condition should be to INCREMENT your counter of 1 variable.  (You can also use an action of the EXPRESSION, but it is a little more complex.)

    This action of the INCREMENT will always run whenever the conditional Action is executed.

    Condition of your next decision block checks the value of your counter variable, and if it has been set to the value 1 at this point, then it will perform any actions you deem appropriate for that.

    Condition of your third decision block checks the value of the counter to a value of 2 (which means its increment twice) and if yes performs a different action of your choice.

    You could continue this way almost indefinitely by specifying different actions for different values of the counter.  However, at some point, you can use a different action to reset the counter again.  For example, you can have a decision at the end of the sequence block in the same conditional Action that will check the counter variable and if she has reached a certain number (e.g. three) then will reset to 0 or 1.

  • What happened to the button on the address bar which allow you to see the pages you had been so that you don't have to click the back button several times? I use it all the time and it is not on FF4.

    What happened to the button on the left end of the address bar which allow you to see the pages you had been so that you don't have to click the back button several times? You can look at the drop down window of pages and just choose whatever you want. I use it all the time and it is not on FF4. I want to go back to the old FF.

    If you right click on your back button, or click and hold down the mouse button, it will display the list. (I prefer a click-right, because sometimes my fingers slide when I try to click and hold)

  • I have to click on the button to return several times to return to a page. How can I fix it?

    On most of the pages I have to click the back button several times to return to page 1.

    Some Firefox problems can be solved by performing a clean reinstall. This means that you remove Firefox and all the leftover program files and then reinstall Firefox. Please follow these steps one by one:

    1. Download the latest version of Firefox from http://www.mozilla.org office and save the installer to your computer.
    2. Once the download is complete, close all Firefox Windows (click Exit in the file menu or Firefox) and confirm all future messages.
    3. Now, uninstall Firefox by following the steps mentioned in the article to Uninstall Firefox .

    IMPORTANT: Under Windows, the uninstall program has the option to remove your personal data and settings. Make sure that you have not check this option. If not all of your bookmarks, passwords, extensions, customizations and other Firefox data user profile will be removed from your computer.

    After uninstalling Firefox on Windows, delete the folder of the program "Mozilla Firefox", located by default in one of the following locations:

    • (Windows 32-bit) C:\Program Files\Mozilla Firefox
    • (On 64-bit Windows) C:\Program Files (x 86) \Mozilla Firefox
    1. Go to the Windows Start menu and click on 'computer '.
    2. In the Explorer window that opens, double-click on disk Local (c) to open the C:\ drive.
    3. Find the folder "Program Files (x 86)" or "Program Files".
      • On 32-bit Windows, double-click the Program Files folder to open it.
      • On 64-bit Windows, you'll see a folder "Program Files (x 86)" AND a "Program Files" folder. Open the Program Files (x 86) folder.
    4. You are looking for a folder of Mozilla Firefox . If you find one, right click and select delete and confirm that you want to move the folder to the trash.

    Now, go ahead and reinstall Firefox:

    1. Double-click on the downloaded Setup file and go through the steps in the installation wizard.
    2. Once the wizard is completed, click to open Firefox directly after clicking the Finish button.

    Please report back to see if this helped you!

  • Given that I have install iOS 9.3.1 my iPhone 6 Plus is very slow, in the speakers and keyboard, I can't watch videos in YouTube or Facebook and sometimes do not work the volume buttons and lock

    Given that I have install iOS 9.3.1 my iPhone 6 Plus is very slow, in the speakers and keyboard, I can't watch videos in YouTube or Facebook and sometimes do not work the volume buttons and the lock. I rebooted my phone like 10 times and it does not work, I need help,

    Have you tried a forced reboot? Hold down the home and Sleep/Wake buttons simultaneously for about 15-20 seconds , until the Apple logo appears. You won't lose anything.

    If this does not help, I would like to try a restore:

    https://support.Apple.com/en-us/HT201252

  • Why should I sign if often, sometimes I have to sign several times during a session.

    Why have I not connect so often? Sometimes, I have to sign several times during a session.

    This might help:

    https://helpx.Adobe.com/creative-cloud/KB/signed-out-sign-in-required-error-248.html

  • I have a contact form to click a button to get so how do I edit with in the browser?

    I have a contact form to click a button to get so how do I edit with in the browser?

    You can edit the text in edit mode field labels. After publishing the site open the site in BIE everywhere or if used BC, then click on change after login in admin mode.

    https://helpx.Adobe.com/Muse/using/in-browser-editing.html

    Thank you

    Sanjit

  • Still, CS6: I have to click on a button to make it work. Menu/button problems

    I created a menu with photoshop and adobe still cs6. everything seems to be in the right place, but when I saw the menu, some of the buttons are the way I made them but others I have to click below the image to make it work. I don't know what other information you need.

    Sin título-2.jpg

    Thanks for the help. After Googling around for quite a while has found the answer after all. I did not use square pixels so I just had to change that.

  • FW CS4 - why I have to click twice?

    I worked my way through the Adobe classroom in a book for FW CS4 and it keeps telling me to click only once, after I start the import process, to place an image on what I'm working on. But if I click once, nothing happens. I need to click on * double * for the chart to be placed.

    Why is this? The book is bad?

    I'm on a Mac Pro, Leopard 10.5.8.

    Hello:

    Thanks for the question. Under Windows, it seems that a single click is needed to import fill itself. On Mac, it seems that you have to click once to set the canvas "back in focus" before the import can be completed.

    I'll be sure to Peachpit to aware of the omission and posted it on the page of updates on the Peachpit website.

    http://www.Peachpit.com/store/product.aspx?ISBN=0321612191

  • HP Pavilion DV7 laptop: Touchpad, sometimes active, even when the power button is pressed on off (light orange)

    I use a wireless mouse (or a wired mouse) preferably instead of the touchpad.   The touchpad has a power button to press - white light indicates on and off Orange light.    After booting, I usually disable the touchpad and mouse wireless, however, sometimes when you type I realize my palms are contacting the touchpad and the cursor jumps around accordingly.    The touchpad is disabled (orange light) but I can control it with a finger, it works like its supposed to as if it is enabled.     Any ideas?   I have not downloaded a driver updated or do anything to try to solve this problem, as I fear, it could actually cause other problems.

    Update the driver it is the usual Council for problems - that is the solution here?   Has anyone else had a similar problem.    Most of the touch pad problems I've read is in regards to an erratic touchpad - nothing to do with 'on' or 'off' problems.

    HI @WayneCM,

    Thank you for your inquiry. I will do my best to help you!

    I understand that you use the power button / stop to turn off the touchpad.  Sometimes, you will notice that your palm is in contact with it and the cursor is accordingly jump around but the rest light orange, to show that he has disabled.  Here is a link for HP Notebook PCs - using the touchpad and ClickPad (Windows 10). Please review the section on "Open the properties of the ClickPad" in figure 4, you'll see there's a button where you can disable the touchpad, until you want to reactivate it. Please let me know if this helped.

    Thank you! If it helps you to find a solution, please click the button "accept as Solution" down below in this message. If you want to say 'Thank you' to my effort to help, click on ' Thumbs Up ' to give me a Kudos.

  • Right-click mouse button defective function with Word Pad program

    I use a Logitech 'Wave' and the mouse wireless keyboard.  For some strange reason the click right button on the mouse has changed, but only in regard to the MS Windows Word Pad program.  Context menus still appear on the web pages, the office, etc, but for some reason that I'm no longer to get the regular menu of choices when you use Word Pad when I select text (cut, paste, etc.).

    Technical support of Logitech said that he is apparently not a mouse problem, but rather a problem of specific program.  I can do before reinstalling Windows to fix this?

    For the reasons in my control, context menu began to reappear again.  I don't have a clue as to why he stopped either (nothing happened on the right click) or restarted.

Maybe you are looking for