hexagon logo

i need a work around for the "Cancel" Button.

I have been searching for a possible solution to my problem and not had a whole lot of luck. For starters I have 7107 silver advantage CMM with 2014.1 PC DMIS. My problem is that i need a way to ask for an operator input of "YES" or "NO" without the operator having the ability to use the "Cancel" button that is in the input pop up screen. I need a definitive way to get a YES or NO answer without the operator being able to hit cancel and stop the program instead of answering. Any suggestions would be greatly appreciated
.
Parents
  • I would do what MJA75 suggested, create a form which has two options, to collect the data and not to collect.

    FORM1      =LABEL/
                ASSIGN/OPTION1=0
                ASSIGN/OPTION2=0
    CS1        =FORM/FILENAME= V316_LHRH.FORM
                PARAM/CHECKBUTTON1.CHECK=OPTION1
                PARAM/CHECKBUTTON2.CHECK=OPTION2
                PARAM/=
                ENDFORM/
                IF_GOTO/OPTION1==1 AND OPTION2==1,GOTO = FORM1
                IF_GOTO/OPTION1==0 AND OPTION2==0,GOTO = FORM1


    I create the form with two radio buttons and a continue button, the form can only be moved on by pressing the continue button. If nothing is selected it loops back to the form again, if both are selected again it loops back. Of course the wrong one can always be selected
Reply
  • I would do what MJA75 suggested, create a form which has two options, to collect the data and not to collect.

    FORM1      =LABEL/
                ASSIGN/OPTION1=0
                ASSIGN/OPTION2=0
    CS1        =FORM/FILENAME= V316_LHRH.FORM
                PARAM/CHECKBUTTON1.CHECK=OPTION1
                PARAM/CHECKBUTTON2.CHECK=OPTION2
                PARAM/=
                ENDFORM/
                IF_GOTO/OPTION1==1 AND OPTION2==1,GOTO = FORM1
                IF_GOTO/OPTION1==0 AND OPTION2==0,GOTO = FORM1


    I create the form with two radio buttons and a continue button, the form can only be moved on by pressing the continue button. If nothing is selected it loops back to the form again, if both are selected again it loops back. Of course the wrong one can always be selected
Children
No Data