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

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

Recommended Posts

Posted

I have got a script that is sending me in circles!

Basically the idea of the script is to search a stock file for a list of items. I give the user the option to select from three fields to search on using a 'Show Custom Dialog' box.

Using the Script Debugger I have discovered that the only time that it writes data to the global field to be used in the next part of the script is when the default button is selected and not when either of the other buttons are selected by the user.

Any thoughts?

Posted

My thoughts? It stinks! Here is what the help file says:

"Button 1, the default or rightmost button, is the only button that will write information from the input fields to a file."

Yes it's true, and yes it's bad.

Posted

If you want a more robust dialog, you may want to check out the Troi Dialog plug-in. Troi products are great.

  • 1 month later...
Posted

Yes, this is REALLY bad.

Does anyone know if it will be fixed in the next version???

Just wasted time figuring this out....

Atleast this post confirms my results.

Thanks.

Posted

Something else to watch out for with the Show Custom Dialog is that if you press the 'ESC' key, it runs the default button, which must be the button to use if you want to use an input field. Which is the button that runs whatever functionality the user is trying to press the ESC to avoid.

Ouch. This has been this way ever since the Custom Dialog existed. I never use it.

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