Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Menu.SetAllowsContextMenuPlugIns

Sets whether the popup menu allows appending of contextual menu plugin items.

Component Version macOS Windows Linux Server iOS SDK
Menu 4.1 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "Menu.SetAllowsContextMenuPlugIns"; menu; value )   More

Parameters

Parameter Description Example
menu The reference to the menu. Please create one with Menu.CreateMenu. $menu
value 1 if the popup menu should allow context menu plugin items to be appending, otherwise 0. 1

Result

Returns OK or error.

Description

Sets whether the popup menu allows appending of contextual menu plugin items.
Contextual menu plugins are system-wide services provided by other applications. For example, a contextual menu plugin might provide an "Open URL..." service. By enabling context menu plugins your application's contextual menu will display the appropriate items for the currently selected data type.
See also Menu.GetAllowsContextMenuPlugIns.

See also

This function is free to use.

Created 18th August 2014, last changed 18th August 2014


Menu.SelectedItem - Menu.SetEvaluate