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

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

Recommended Posts

Posted

Hi all,

In my solution, I have scripted most functions so that the standard menu commands are not needed, or rather, shouldn't be used. As such, I have created a custom menu set that removes all commands that aren't necessary.

But now I can go in and select the Standard FileMaker commands from the Tools menu to bring up a standard menu set anyway. Is that just because I have FMA rather FMP and does that mean anyone with FMA can change to the default menus as well?

I thought the menu set would somehow be tied to the privilege set, but there doesn't seem to be a way to select one.

What am I missing here?

Thanks,

Posted

You can do it because you're logged in with full access.  Your users wouldn't be (hopefully) so they would get the custom menu you assign.

Posted

I see, so there's no connection between a custom menu set and a particular set of access privileges. That explains it, then.

Thanks!

Posted

You can specify a default menu set for the file, in the custom menus dialog, and you can specify a default menu set for each layout. Other than that, you would control custom menu loading via scripts, where you can check a user's privileges and assign a menu set accordingly. But as Wim noted, you can't lock a full access user out of the Tools menu.

Posted

Just thinking... I have a global variable 'debug' in my files that, when set to 1,  does or does not a bunch of things while I develop. I can then just reset this to 0 to see how the file behaves to a normal user. I would be great to have the custom menu set look at this variable and when it's 1 it would always install the standard menu set.

I find it distracting to have FM always revert to the custom menu set while developing. Is there some other way to prohibit this?

Posted

In your OnOpen script, detect whether you are logged in with Full Access and use the "install menu set" for the default menu set and toggle the option to use as file default.

  • Like 1

This topic is 1738 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.