Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

SyntaxColoring.CopyButton.SetEnabled

Enables or disables copy script button.

Component Version macOS Windows Linux Server iOS SDK
SyntaxColoring 5.2 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "SyntaxColoring.CopyButton.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 copy script button.
MBS Plugin offers to add a script button on macOS and this function sets the preferences on whether it's visible or not.
This setting can be set via the preferences dialog, too.

Examples

Enable button:

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

Disable copy button:

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

Enable all the plugin enhancements for FileMaker:

MBS("SyntaxColoring.CopyButton.SetEnabled"; 1)
MBS("SyntaxColoring.ScriptSearchBox.SetEnabled"; 1)
MBS("SyntaxColoring.ScriptGoToBox.SetEnabled"; 1)
MBS("SyntaxColoring.RelationshipGraphSearchBox.SetEnabled"; 1)
MBS( "SyntaxColoring.CheckVariableDeclaration.Enable" )
MBS( "SyntaxColoring.LineNumbers.Enable" )
MBS( "SyntaxColoring.SetScriptHighlightColor"; "#CCCCFF" )

See also

Blog Entries

Created 20th May 2015, last changed 12nd September 2020


SyntaxColoring.CopyButton.GetEnabled - SyntaxColoring.Disable

Feedback: Report problem or ask question.