IF the only user-options are to select one button or the other, don't put any script steps beyond the pause. Continue any script steps you want in the two scripts attached to the buttons. You can select "halt current script" in the button setup, but there's nothing to continue anyway.
Chuck FileMaker Pro Discussions <[email protected]> on Monday, February 16, 2009 at 12:53 PM -0800 wrote: >I want to create a modal pop-up layout with two buttons, say "Select" and >"Cancel". When the user >presses "Select" one action must happen, and when the user presses "Cancel" >another action must >happen. > >I have set up the layout as follows: > > >New Window >Go To Layout >Allow User Abort[Off] // to make the layout modal >Pause/Resume Script[Indefinitely] > >I can get the script to resume by assigning the Resume Script script step to a >button, but how do >I distinguish between the buttons? If I assign a separate script to each one, >then the original >script (as above) remains active and paused. There seems to be no way to >restart that script from >another one. > >(I'm using FMPro Advanced 8.5 on Windows XP.) > >Any ideas would be greatly appreciated. > >Bruce Button >
