Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cancel Script

Featured Replies

I have the following script:

Show Message ["Click cancel to stop transfer of grades"]

If ["Status (CurrentMessageChoice) = 2"]

Halt Script

End If

Perform Script [sub-scripts, "Update grade 5"]

However, when I click the cancel button the script does not cancel but continues on and updates the grade.

Any help would be appreciated.

It skips If statement, check if you realy have button number two for canceling script ( Default Ok = 1, Default Cancel = 2 ).

And I see that you have If [] in " ". If you wrote "Status ( CurrentMessageChoice ) = 2" it won't work but I am not sure ( not developing with FM6 for a while ).

HTH

In vs. 6 and lower, the quotes would appear in the script definition and also if printing the script. I was pleased to see them go. :wink2:

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.