April 8, 200520 yr I have a custom dialog with an input field and two buttons. The first button, (which I have named to New) is button1, where OK used to be (so it returns 1 when you do Get(LastMessageChoice). The second button, called Return was where Cancel used to be (returns 2 on Get(LastMessageChoice). When I enter something into the input field, and click "New", the text enters into the my "Doctor field" fine and my script continues, however if you click Return, the text in the input field isn't entered into my Doctor field. Is this supposed to happen? I'm thinking FM7 thinks clicking Return is like clicking cancel so it won't enter the text in. If this is the right procedure, is there a way to have it so that all the buttons emulate the first button? Thanks!
April 8, 200520 yr FMP Help: "Button 1, the default or rightmost button, is the only button that will write information from the input fields to a file."
Create an account or sign in to comment