Jump to content

How to Grayed out /Disable submenu from menu list


Genelia
 Share

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

Recommended Posts

Dear All,

I dont know whether it is very easy task but i am not aware about this fact so sorry if it is common and easy task.

My query is when we create the custom menu how can we disable or grayed the submenu option. for more clarification please see attached screen shot.

Here in picture i want to disable "Admin" submenu from file menu in certain condition like according to user type it should be disable or enable.

Lots of Thanks,

Screen shot 2011-03-18 at 1.35.02 PM.png

Link to comment
Share on other sites

No, you cannot gray out menu items. FMP will gray-out items based on native commands (such as new record) if those commands are disabled, but we (developers) cannot do that for menu items not based on native commands.

You can allow the item to be selected but display an alert if it should not be used, or switch menu sets to one that does not have the item displayed.

Link to comment
Share on other sites

Ok thanks. ya finally i did it by alert message. now we can expect it in filemaker new version. again Thanks

No, you cannot gray out menu items. FMP will gray-out items based on native commands (such as new record) if those commands are disabled, but we (developers) cannot do that for menu items not based on native commands.

You can allow the item to be selected but display an alert if it should not be used, or switch menu sets to one that does not have the item displayed.

Link to comment
Share on other sites

This topic is 4338 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
 Share

×
×
  • Create New...

Important Information

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