SyntaxColoring.DontOpenManageDatabaseDialogWithRelations.SetEnabled
-------------------------------------------------------------------

Sets whether we avoid opening manage database dialog with relationships.

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

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

**MBS**( **"SyntaxColoring.DontOpenManageDatabaseDialogWithRelations.SetEnabled";** /\* Sets whether we avoid opening manage database dialog with relationships. \*/  
**$Value**) /\* The new setting.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The new setting. | 1 |

### Result

Returns OK or error.

### Description

Sets whether we avoid opening manage database dialog with relationships.  
If you have a huge solution, showing the relationship graph may take a couple of seconds.  
FileMaker remembers which tab in that dialog has been selected, so it opens again in the same tab. When this feature is enabled, the plugin will watch the database design dialog. If the dialog closes with relationships tab selected, we switch to table list and close the dialog.  
This way you don't need to wait next time the dialog opens for relationship graph to render.  
  
### Examples

Enable it:

 MBS ( "SyntaxColoring.DontOpenManageDatabaseDialogWithRelations.SetEnabled"; 1 )  
Disable it:

 MBS ( "SyntaxColoring.DontOpenManageDatabaseDialogWithRelations.SetEnabled"; 0 )  
### See also

- [SyntaxColoring.DontOpenManageDatabaseDialogWithRelations.GetEnabled](SyntaxColoringDontOpenManageDatabaseDialogWithRelationsGetEnabled.md)

### Release notes

- **Version 11.4**
    - Added [SyntaxColoring.DontOpenManageDatabaseDialogWithRelations.SetEnabled](https://www.mbsplugins.eu/SyntaxColoringDontOpenManageDatabaseDialogWithRelationsSetEnabled.shtml) and [SyntaxColoring.DontOpenManageDatabaseDialogWithRelations.GetEnabled](https://www.mbsplugins.eu/SyntaxColoringDontOpenManageDatabaseDialogWithRelationsGetEnabled.shtml) functions.

### Blog Entries

- [New in MBS FileMaker Plugin 11.4](https://www.mbsplugins.de/archive/2021-09-15/New_in_MBS_FileMaker_Plugin_11/monkeybreadsoftware_blog_filemaker)
- [Neues MBS FileMaker Plugin 11.4](https://www.mbsplugins.de/archive/2021-09-07/Neues_MBS_FileMaker_Plugin_114/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 11.4 - More than 6500 Functions In One Plugin](https://www.mbsplugins.de/archive/2021-09-07/MBS_FileMaker_Plugin_114_-_Mor/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 11.4pr1](https://www.mbsplugins.de/archive/2021-08-02/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 28th July 2021 , last changed 28th July 2021

  
[SyntaxColoring.DontOpenManageDatabaseDialogWithRelations.GetEnabled](SyntaxColoringDontOpenManageDatabaseDialogWithRelationsGetEnabled.md) - [SyntaxColoring.Enable](SyntaxColoringEnable.md)

[HTML Version](SyntaxColoringDontOpenManageDatabaseDialogWithRelationsSetEnabled.shtml)