JedCooper Posted July 13, 2011 Share Posted July 13, 2011 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 Link to comment Share on other sites More sharing options...
smartee Posted July 13, 2011 Share Posted July 13, 2011 To prevent them from clicking cancel, simply disable the cancel button ,search the help-file for ControlDisable() Link to comment Share on other sites More sharing options...
JedCooper Posted July 13, 2011 Author Share Posted July 13, 2011 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! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now