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.

ScriptMaster 3 PopupMenu

Featured Replies

  • Newbies

I am using PopupMenu on OS X using fmp 10 without any problems. The same code in Windows XP makes the popup menu the same size as the current FileMaker window. I have enclosed two screen shots of the same menu on each platform. Any ideas would be greatly appreciated.

PopupMenu_on_OS_X.png

PopupMenu_on_XP_Pro.png

Look for the line of code

menuFrame.setBounds( 0, 0, (int) screenSize.getWidth(), (int) screenSize.getHeight() );




and change it to




menuFrame.setBounds( 0, 0, 0, 0 );

This will stop your screen from being filled, though your users will not be able to click outside of the drop down list to cancel making a selection.

  • Author
  • Newbies

Thanks David, worked like a charm.

ian

  • 3 months later...
  • Author
  • Newbies

Hi David,

The updated code had been working until today when I happened upon a serious bug. If you use the escape key with a popup menu active, FileMaker freezes. This is repeatable on both Windows and OS X using FMP 10 or FMP 11. Reverting to the original line of code avoids the freeze.

Thanks

Ian

Change the popupMenuCanceled method to this:

public void popupMenuCanceled( PopupMenuEvent e ) {

 menuFrame.dispose();

 }

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.