Jump to content

Help on Custom Dialog Box


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

Recommended Posts

  • Newbies

I am trying to set up a custom dialog box to ask the user to enter in a set of dates for entry into a search field. This works ok but I found that only the OK button works. When you press the Cancel button in the Dialog Box it just gives an error message on filling in the dialog box and then you have to press Cancel again on a different dialog box in order to get out of it. Is there some way to designate what each of the buttons do on the Dialog Box? I couldn't find anything in the help files or on the forums???

Derek

Link to comment
Share on other sites

You can trap for what button # was pressed and branch your script accordingly.

see the help file for "Get(LastMessageChoice) function".

Bear in mind though that if you want to set fields based on the user's input; then that will happen only if they click the 1st (default) button. If they click any other button whatever they put in the dialog entry boxes will not get set to the fields.

Link to comment
Share on other sites

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