Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5594 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

When creating a custom menu, is there a way to toggle a check mark to appear beside a menu item? (Like how there's a check mark next to Browse in the View menu when you're in Browse mode.)

Thanks.

Posted

Not as a setting. However, you maybe able to mimick it by changing the calculation of the title override which would include a star or dot etc.

Posted

That's what I tried first: I used an if statement to make the menu item change to Enable or Disable based on a global field. But in practice, FileMaker never reevaluates that calculation... so no matter what, the name of the menu item doesn't change. Am I missing something?

Posted

You are absolutely right, but I have no idea why.

I managed to make it work as you want it to by adding an 'install menu set' command at the end of your script. Seems to make FileMaker refresh the menu items.

Bit of a bodge, and shouldn't have been necessary, but it works.

Working file attached.

I have subscribed to this thread and would be interested if you ever find out why it is happening. My first thought was because the field is global and therefore unindexed, but that doesn't seem to make any difference. Always a good idea to make sure the record is committed after toggling, too.

James

menu_fixed.fp7.zip

Posted (edited)

This is because simply changing the global field doesnt not do anything to allow the custom menus to load again, therefore not refreshing them.

You could see the effects by simply going into Find mode and then back to browse mode.

P.S. There was a previous thread on this about a year ago but I can not seem to locate it.

Edited by Guest
added PS

This topic is 5594 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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