Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
SyntaxColoring.SetFontSize
Sets current font size for Script Workspace.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SyntaxColoring | 10.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "SyntaxColoring.SetFontSize"; FontSize ) More
Parameters
Parameter | Description | Example |
---|---|---|
FontSize | The new font size. | 12 |
Result
Returns OK or error.
Description
Sets current font size for Script Workspace.Size is zero for default. Range should be 11 to 18.
Works for FileMaker 16 and newer.
You may need to restart FileMaker to see the change!
See also
- SyntaxColoring.GetFontName
- SyntaxColoring.GetFontSize
- SyntaxColoring.SetFontName
- SyntaxColoring.SetMinCalcFontSize
Release notes
- Version 13.2
- Fixed SyntaxColoring.SetFontSize to allow passing value zero to disable font size change.
- Version 10.1
- Added SyntaxColoring.GetFontSize and SyntaxColoring.SetFontSize functions.
Blog Entries
- MBS FileMaker Plugin, version 13.2pr1
- MBS FileMaker Plugin, version 10.1pr1
- MBS Filemaker Plugin, version 3.5pr9
This function is free to use.
Created 28th January 2020, last changed 16th November 2023
SyntaxColoring.SetFontName - SyntaxColoring.SetFormulasWithDashLinks
