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

SyntaxColoring.RelationshipGraphSearchBox.SetEnabled

Enables or disables relation graph search box.

Component Version macOS Windows Linux Server iOS SDK
SyntaxColoring 5.4 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "SyntaxColoring.RelationshipGraphSearchBox.SetEnabled"; Value )   More

Parameters

Parameter Description Example
Value The new setting. Pass 1 to show button or 0 to disable. 1

Result

Returns OK or error.

Description

Enables or disables relation graph search box.
MBS Plugin offers to add a search box on macOS to the relation graph and this function sets the preferences on whether it's added or not.
This setting can be set via the preferences dialog, too.

The search box is hidden, if the initial gathering of table names via SQL fails, e.g. due to a permission error.

Examples

Disables search box:

MBS("SyntaxColoring.RelationshipGraphSearchBox.SetEnabled"; 0)

Enables search box:

MBS("SyntaxColoring.RelationshipGraphSearchBox.SetEnabled"; 1)

See also

Blog Entries

This function is free to use.

Created 10th October 2015, last changed 7th October 2020


SyntaxColoring.RelationshipGraphSearchBox.GetEnabled - SyntaxColoring.RemoveContextMenuCommand