Sign in to follow this  

yes/No button

Recommended Posts


I have a  continuous process. To stop it for maintenance I use a button to activate a sequence which stops all running sequences and set to 0 all counters "general_stop.seq".

For some safety reason i'm searching to install a Yes/No validation to this action.

1: STOP button is pressed

2: A popup appear " The process will be definitively stopped. Do you want to continue?"

3: Two button "Yes" "No"

4: If you press "Yes" the button call the "general stop" sequence.

    If you press "No" the popup disappear and the running sequence continue.


Any idea to do this?







Share this post

Link to post
Share on other sites

Sure, use a Quick Sequence action and the system.messagebox() funciton.  Something like this:

private string in = system.messageBox("Are you sure?","YESNO")
if (in == "Yes")


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this