Jump 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.

Disabling close button

Featured Replies

Hello,

I was trying to develop a c++ code to develop one plugin to disable the close button of the FM application child window and NOT the FileMaker Application window (By Child window, I mean, the database application opened in the FileMaker Advanced application window). I have the child window handle. However, I am unable to disable the close button by using GetSystemMenu, RemoveMenu functions. They only work on the FileMaker Advanced application, Parent window and not the child window.

I will appreciate if you can give me a clue...

Regards,

Padmaja

  • 1 month later...

I am trying to build the same plug-in, unfortunately I don't have any prior knowledge of C++. This is the closest thing I could find online: http://ryanfarley.com/blog/archive/2004/04/12/526.aspx

I am hoping that method will work if I can figure out how to do it in C++ in a FileMaker plug-in. No luck for me yet, please let me know if you find a solution.

  • 1 month later...

This can be done in FileMaker 10 and maybe other versions as well but 10 is what I use.

create a custom menuset where you disable the 'close menu' item. You go into the custom menu. Create a copy of the standard menu set. Go into the FILE submenu. Set the bottom most checkbox (action) on, and select scriptstep 'do nothing'

Now when switching to this layout you also switch the active menu set. Remember to switch back on exit.

When the user ckicks the close box all that will happen is that the custom menu set will try top execute the script step 'do nothing'. And that is exactly what will happen. Nothing.

Create an account or sign in to comment

Important Information

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

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.