Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6878 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a custom dialog box that prompts the user for input to use in the current script. However, if the user clicks Cancel instead of OK I want the script to Halt. Currently, the script continues regardless if there is any input or not.

Posted

When you say the user clicks cancel do you mean that X in the upper right corner of the dialog box? If so I believe that this is typical behaviour. There are a number of previous posts on this forum and others concerning this topic and how to remedy.

Posted

Hennaquick:

In your script, just after you put up the custom dialog box, you can check for the user's selection. Depending on which button is the default, you'd do something like this:

If [Get(LastMessageChoice)=2]

Halt Script

End If

The buttons are numbered, which is the number you can check for.

-Stanley

This topic is 6878 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.