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

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

Recommended Posts

Posted

I have a script that does somthing critical and in normal use, is irreversable. When the user hits the button I have a custom dialogue that pops up and says "Are You Sure?" - they can then choose "OK" to continue or "Cancel" to... wait for it, cancel - but Hay - I hit cancel and the script just keeps on running!!! - What can I do to allow my user to back out and stop the script from running?

Posted

Sorry if I am missing the point here.

You have to pick up the fact that they have hit the cancel button and stop the script. If you stick to the usual left to right of OK Cancel in the Custom Dialog Box definition then the script steps

If(Get(LastMessageChoice) = 2)

Exit Script

End If

will do the trick.

This topic is 6986 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.