Message popup cancel button

Hi
I am using the message popup step in TestStand in the beginning of my sequence. I defined 2 buttons - "OK" button and "Cancel" button.
The "OK" button works fine but the "Cancel" button does not function as desired - pressing it still runs the sequence while I want it to cancel or goto the end of the sequence.
Please advice me on how to configure it.
Attached is a screen shot of my configuration.
Thanks,
Moshik
Attachments:
popup.GIF ‏33 KB

All that you've done is define some text for a button. It's without meaning if you don't write some code that handles the actual button pressed. Look at the answer by paul in the post http://forums.ni.com/ni/board/message?board.id=330&message.id=14038. A simple expression to use would be Step.Result.ButtonHit==1?True:False. Then, on the False condition, set the destination to <End>.

Similar Messages

  • NO data change message during CANCEL button of ME52N

    Hi Gurus,
    When i do changes in ME52n then press save button i get error message. Then i press CANCEL button, instead of going to screen 0 it gives an information message ''No Data Change' which i dont want.
    Please give your suggestions.
    Regards,
    Milind

    has someone added an enhancement or exit coding?  Doesn't sound like standard SAP....sounds like error in someone's PF Status handling code.

  • Message PopUp Maximum Button

     
    Hi Guys.
    I'm using the Message PopUp to select diferent options, but I need to put more than 6 Options.
    The Message PopUp have 6 maximum, it is any way to increase the number of buttons into a message PopUp (more than 6)?
     

    You may customize the MessageBox Steptype to add more buttons. The source code is available for you to change at the location:   Components\StepTypes\MsgBox

  • Data loss popup for cancel button on overview page

    Hi Experts,
    Data loss popup generally appears on UI, when i try to navigate with out saving the changes. This is a standard SAP behaviour.
    But, i come across the requirement where this data loss popup should also appear on clicking the 'Cancel' button on overview page on UI.
    I understood that, this popup will be triggered by the methods ON_BEFORE_WA_CONTENT_CHANGE & IF_BSP_WD_EVENT_HANDLER~HANDLE_EVENT of the window impl class.
    Please suggest how can i make this popup work in case of Cancel button as well.
    Thanks....

    Hi bkvs,
    Usually when you click the "Cancel" button that means you don't want to save your entry... hence displaying the dataloss popup doesn't make really sense to me. However, you may want the user to confirm that he really wants to cancel.
    So I would suggest to redefine the EH_ON_CANCEL method of your view, to display a simple confirmation popup before you actually cancel everything. This wiki will show you how to do it:
    Creating popup message in webclient UI - CRM - SCN Wiki
    Regards,
    Nicolas.

  • How to handle the "cancel" button and "close" icon of a popup ?

    Hi,
    I have a popup with "cancel button" and "close icon"(on the top right corner of the popup), I want the same operations to be performed on clicking of any of these two components.
    Is there a way to handle such situation ?
    I read about 2 cases to look into this but they didn't work too well for me.
    1. I read about the "popcancellistener" but that listener is called whenever the popup closes, so suppose I have an "ok button" on the popup to create a record, after the record is created, the popup closes and goes into the "popcancellistener", now the question is "how do we know if it came there because of the 'ok button' or 'some other event'".
    2. I even checked the "DialogListener", now I'm able to distinguish between the 'OK' and 'CANCEL' button in the dialoglistener using the "Dialog.Outcome.ok/cancel", but when a user clicks on the close icon, we do not enter the "DialogListener" at all, so in this case "how do we handle the close icon click event"
    Do let me know if you need any more information from my side.
    Thanks for the help in advance.

    The following mechanism responds to any of the following events: <Esc> key, Close icon ('x'), Cancel button
    JavaScript part:
    function popupClosedListener(event){
                  var source = event.getSource();
                  var popupId = source.getClientId();
                  var params = {};
                  params['popupId'] = popupId;
                  var type = "serverPopupClosed";
                  var immediate = true;
                  AdfCustomEvent.queue(source, type, params, immediate);
    }JSF part:
             <af:popup ....>
                  <af:clientListener method="popupClosedListener"
                                           type="popupClosed"/>
                  <af:serverListener type="serverPopupClosed"
                                          method="#{myBean.serverPopupClosedMetod}"/>
            </af:popup>Finally, Java part:
    public void serverPopupClosedMetod(ClientEvent event){
    }

  • Popup with text area & ok/cancel button

    Hi all,
    My requirement is to display a popup with a text area in editable mode along with 'Confirm' and 'Cancel' button. If the user changes the text, and presses the 'CONFIRM' the text is to be saved in DB.
    How do i implement this? Should i use a FM or modal dialog box?

    You can use simple modal dialog box ..
    using below syntax :
    CALL SCREEN 1100 STARTING AT 1 1.
    Select modal dialog box ( Screen type).
    Thanks
    Seshu

  • How to capture OK / Cancel Button response of warning type message in EBS D2K form using Form personalization

    Hi Experts
    We are working on one requirement in which on a standard D2K EBS form based on the response of a warning message we need to perform certain actions using Form Personalization.
    The problem is that we are not able to capture response of OK and Cancel buttons of the warning.
    If any one has come across such scenario, I would request to please share your valuable suggestions. 2898414
    Thank You
    Regards
    Mirza Tanzeel

    Figured out myself that this is mot possible using Form Personalization.
    Only option possible is to try implementing by modifying custom.pll
    Thanks
    Mirza Tanzeel

  • Popup- ok and cancel button

    Hello,
    The popup 'X' has nested view 'Y' and Ok, Cancel buttons. Nested View 'Y' has a start point, a Data service, a table with single column 'Z' and a out-port (configured to event Select), from the out-port, close pop-up endpoint is connected which is mapped to store the value of column 'Z'.  The value of column Z, should be send out only on the click of OK button of the pop-up and not when Cancel is clicked, is there a way to validate that? At this moment, it is sent regardless of which button is clicked.
    Thanks much,
    Dharmi

    Hi Kobi,
    I understood what you said but how do you do "that can be set to TRUE in the popup OK button." ?? The popup at [design time|http://img145.imageshack.us/img145/8789/popupdesigntimeks2.jpg] and [layout|http://img371.imageshack.us/img371/750/popuplayoutgs4.jpg].
    If it is a normal form which has button you can store anything with that to data store, here how would I link that "OK" (close window) action of popup?
    Best regards,
    Dharmi

  • Hide Ok and Cancel buttons in a Popup

    JDev 11.1.1.5.0
    I am using an <af:popup> component. By default, when I run it shows Ok and Cancel buttons at the bottom. I don't want these two to be shown.

    Yes. I just found it right after posting this. So unmarked this thread as a question.

  • Control Buttons in message popup with Digital I/O

    In my Test system the   operator  can use only the Start Stop Quit buttons on the Panel.
    He  aint have any mouse
    That means I have to provide him wit all  the control power  thr' these 3 digital I/Ps
    There are many message popups in the SequentialModel.seq  file 
    The OPERATOR will  respond to them with the 3 H/W buttons.
    OK= Green
    Terminate = Red
    how can I assign my  Buttons to all  Popup messages on teststand Irrespective of their .(i.e handling them Individually) 

    My plan is to control the whole testsystem, with  Hardware buttons (On off S/Ws for Operator) (operator wont be using mouse- it takes timeto scroll & prod is slow).
    The H/W buttons r read thr   Labview. The file is a member function of the class that I call In teststand seq.
    I am trying to  read and respond to Teststand  dialogues thr'  the Operator Interface using these 3   buttons 

  • How to handle "ok" and "cancel" button of dialog popup?

    Hello everyone,
    I'm using a dialog with type="okCancel". My question is how to handle ok and cancel button of this popup window. Here is my code below:
    <af:popup id="kriterPopup">
    <af:dialog title="Kriter Seçiniz" type="okCancel" inlineStyle="width:500px;height:400;" id="d2"
    dialogListener="#{BasvuruDegerlendirmeBean.kriterDialog}">
    <af:selectManyCheckbox label="Kriterler :" id="smc2"
    binding="#{BasvuruDegerlendirmeBean.kritersCheckbox}">
    <af:forEach items="#{BasvuruDegerlendirmeBean.kriterList}" var="item">
    <f:selectItem itemLabel="#{item.ybKriter.tur}" itemValue="#{item.ybKriter.tur}" id="si3"/>
    </af:forEach>
    </af:selectManyCheckbox>
    </af:dialog>
    </af:popup>
    I want to handle ok and cancel button of this window, and redirect to the pages which I want.
    Can anyone help me how I can do?
    Thanks, with my regards.
    Ali

    You need dialogListener..
        public void dialog1_dialogListener(DialogEvent dialogEvent) {
            if (dialogEvent.getOutcome().equals(DialogEvent.Outcome.yes)){ //for Yes
            }else{ //for Cancel
        }

  • Message popup timeout reached or button pressed?

    I have a Message Popup with one button.  This button is also set up to be the Timeout Button.  If I press the button, RunState.Sequence….Result.ButtonHit is set to 1.  Alternately, if I allow the timeout to be reached, Result.ButtonHit is also set to 1.  Is there a way to determine whether the timeout was reached or if the user pressed the button?

    Hi Christine,
    I have just played with Message Popup's timeout and i also do not see a way to check if a timeout has been occured.
    The only way is to use a new button for timeout but you can not hide it ! Only changing the colour stuff and this is looking
    terrible. And if the user is pressing this button you will not determine a timeout, too!
    I think the "blue ones"  should add this feature in next TS release.
    Or they have some other suggestions.
    Sorry that i have no solution.
    Juergen 
    =s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=

  • Message popup add more buttons than six

    Hi,
    On TestStand 4.2.1, I encounter a limit of 6 buttons. 
    How can I add more buttons ?
    Or, can I replace message popup by list ?
    Thank you 

    Hi,
    Have you thought of using LabVIEW to create something?
    I have attached a simple VI that you can pass an array of string data from TestStand to LabVIEW..
    Regards,
    Shane.
    Attachments:
    PopUp.vi ‏25 KB

  • Popups how top program the ok and cancel button

    How do I program the ok and cancel button in the popups. I want to add functionality to the existing ok and cancel buttons in the popup
    Thanks,
    Veena

    You can ise a dialog inside the popup and use a dialogListener to check how hte dialog has been closed
    public void handleDialog(DialogEvent event)
      if (event.getOutcome().equals(DialogEvent.Outcome.no))
        setGender(getOldGender());
        // reference to the gender component is from component binding
        // see selectOneRadio above - binding="#{sharedPopup.genderComponent}
        RequestContext.getCurrentInstance().addPartialTarget(getGenderComponent());
    }{code}
    Timo                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • HT4463 I keep getting the message "The application could not be downloaded. The installation could not be started."  with a "Retry" and "Cancel" button,  I have been re-trying for several hours to no avail.  What is the problem?

    I keep getting the message "The application could not be downloaded. The installation could not be started."  with a "Retry" and "Cancel" button,  I have been re-trying for several hours to no avail.  What is the problem?

    You'll need to contact support and have them check your account
    https://expresslane.apple.com/GetproductgroupList.action

Maybe you are looking for