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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

SyntaxColoring.SetAddFindbars

Sets whether the plugin adds find bars.

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

Parameters

Parameter Description Example
Value The new setting. Can be 1 or 0. 1

Result

Returns OK or error.

Description

Sets whether the plugin adds find bars.
The plugin watches Command-F and if you are focussed on a scrollable text view, we can show the find bar from macOS. That’s a standard feature of macOS and we just enable it.

It can be that FileMaker does not draw everything perfectly as we add a control to the view hierarchy. Also the find bar is probably not designed to be running in a modal dialog. Still it is helpful.

This option also enables to copy the content of the field with formatting using Command-Option-C.
This setting can be set via the preferences dialog, too.

Examples

Turn on find bars in a script:

Set Variable [$r; Value: MBS( "SyntaxColoring.SetAddFindbars"; 1 )]

See also

Release notes

Blog Entries

This function is free to use.

Created 21st December 2017, last changed 14th January 2023


SyntaxColoring.ScriptSearchBox.SetText - SyntaxColoring.SetCustomFunctionToolsEnabled

💬 Ask a question or report a problem