SyntaxColoring.ContextualMenuEnabled.SetEnabled
-----------------------------------------------

Enables contextual menu commands for tables.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SyntaxColoring](component_SyntaxColoring.md) | [6.0](newinversion60.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "SyntaxColoring.ContextualMenuEnabled.SetEnabled"; Value ) 

**MBS**( **"SyntaxColoring.ContextualMenuEnabled.SetEnabled";** /\* Enables contextual menu commands for tables. \*/  
**$Value**) /\* The new setting: 1 to enable or 0 to disable. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The new setting: 1 to enable or 0 to disable. |  |

### Result

Returns OK or error.

### Description

Enables contextual menu commands for tables.  
The plugin provides a Copy Table Content command for all FileMaker tables.  
Unless FileMaker has it's own contextual menu.  
This setting can be set via the preferences dialog, too.  
### See also

- [SyntaxColoring.ContextualMenuEnabled.GetEnabled](SyntaxColoringContextualMenuEnabledGetEnabled.md)
- [SyntaxColoring.SortMenuEntries.SetEnabled](SyntaxColoringSortMenuEntriesSetEnabled.md)

### Blog Entries

- [Goodies 8: Contextual menus](https://www.monkeybreadsoftware.com/filemaker/SyntaxColoring/08-Contextualmenus.shtml)
- [MBS FileMaker Plugin, version 6.0pr6](https://www.mbsplugins.de/archive/2016-01-13/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 11st January 2016 , last changed 11st November 2019

  
[SyntaxColoring.ContextualMenuEnabled.GetEnabled](SyntaxColoringContextualMenuEnabledGetEnabled.md) - [SyntaxColoring.CopyButton.GetEnabled](SyntaxColoringCopyButtonGetEnabled.md)

[HTML Version](SyntaxColoringContextualMenuEnabledSetEnabled.shtml)