October 14, 200916 yr I'm trying to get the status of the Get(LastMessageChoice) after performing a PRINT SETUP command in my script. I've tried to accomplish this two different ways 1] An IF command testing the Get(LastMessageChoice)as the script step following the PRINT SETUP command 2] An Insert Calculation operation of the Get(LastMessageChoice)following the PRINT SETUP command Both tests always result in a value of zero [0]. I'm expecting a '1' if OK and a '2' if CANCEL. I have no problems with this approach when using a custom dialogue box, only with the system provided PRINT SETUP command.
October 14, 200916 yr Not sure you can use Get(LastMessageChoice) as it is outside the confines of FM. Get(LastError) works for me though, where Error 1 is "User cancelled last action"
October 14, 200916 yr Author Thanks for the advise. It's strange that the described function doesn't work, especially since it's part of the FM library of functions. I'm hopeful that your suggestions solves my dilemma
Create an account or sign in to comment