Jump to content
Sign in to follow this  
JedCooper

Detect if cancel clicked?

Recommended Posts

JedCooper

Hello:

How do you detect if 'cancel' has been clicked on a dialog box (not one that I created)? For example, I have a vendor application where one of the dialog boxes prompts them to create a password (Ok/Cancel). I need them to avoid clicking cancel and would like to have a script detect if they click cancel and either pop up a message box warning and/or do some other commands in an if then scenario. Does anyone have any ideas?

Thanks

John

Share this post


Link to post
Share on other sites
smartee

To prevent them from clicking cancel, simply disable the cancel button :),search the help-file for ControlDisable()

Share this post


Link to post
Share on other sites
JedCooper

To prevent them from clicking cancel, simply disable the cancel button :),search the help-file for ControlDisable()

Thank you so much! You are my hero!

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.