Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Sets the search color.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SyntaxColoring 6.1 Yes No No No No

MBS( "SyntaxColoring.SetScriptSearchColor"; Color )


Parameter Description Example value
Color The color value. Can be one of a few english color names or "#123456" notation like in html. "red"


Returns OK or error.


Sets the search color.
Uses to highlight the script lines matching the current search terms.
Set to nothing to use default color.
Does not work if Syntax Highlighting is off.


Set to red:

MBS( "SyntaxColoring.SetScriptSearchColor"; "#FF8888" )

See also

SyntaxColoring.SetScriptLoopColor   -   SyntaxColoring.SetShowFieldAndTableIDs

Feedback: Report problem or ask question.

MBS Xojo blog