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

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

Recommended Posts

Posted

I defined a custom dialog in a script to accept an input field. I clicked on the specify button of "Show input field #1" and chose the field that I wished to popluate via the custom dialog. I gave it a label name and then ran the script. Just as I expected, the dialog appeared with the input field just as I labeled it. I entered the information and clicked on the OK button. I expected to see the data that I entered show up in the field that was was on the layout of the current window. Nothing appeared in the field. I then entered information into the field on the layout and then ran the script again. This time the custom dialog was showing the information that I had entered via the layout. I change the information in the dialog input field and hoped it would change on the layout after clicking the "OK" button. Nothing!! Am I doing something wrong? Did I miss something? Please help if you can!

Posted

Greetings,

I believe that I have read on this forumn before that unless you are using the number one (1) button, the change won't commit. I haven't run into this problem myself but it seems like the discussion concluded the the number two (2) button acted like a cancel button no matter how it was labeled.

Posted

That was it. Thank you for pointing that out. I am still disappointed that I must now use the "default" button. Oh well maybe they will fix this in FM8. Thanks again.

  • 1 year later...
  • Newbies
Posted

It seems that this problem hasn't been fixed with version 8. Shame. I'd been tearing my hair out before I did a search on FMForums and found this answer. I don't want this configuration!

Oh well....maybe in version 9...or 10............!

Posted

I don't think I've ever used a custom dialog in conjunction with a regular field. I always use with a 'Global' field and then use whatever has been entered into the global (via the custom dialog) to populate the regular field(s) based on what button was pushed.

Essentially, the global acts like a temporary place to hold the information until the script can determine which button was pushed.

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