SyntaxColoring.ZoomButton.SetEnabled
------------------------------------

Sets enabled state for zoom controls.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SyntaxColoring](component_SyntaxColoring.md) | [7.2](newinversion72.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "SyntaxColoring.ZoomButton.SetEnabled"; State ) 

**MBS**( **"SyntaxColoring.ZoomButton.SetEnabled";** /\* Sets enabled state for zoom controls. \*/  
**$State**) /\* The new enabled state.  
Pass 1 to enable or 0 to disable.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| State | The new enabled state.   Pass 1 to enable or 0 to disable. | 1 |

### Result

Returns OK or error.

### Description

Sets enabled state for zoom controls.  
The MBS Plugin adds zoom controls to FileMaker’s Script Workspace.  
This setting can be set via the preferences dialog, too.  
### See also

- [SyntaxColoring.CommentLinks.GetEnabled](SyntaxColoringCommentLinksGetEnabled.md)
- [SyntaxColoring.CommentLinks.SetEnabled](SyntaxColoringCommentLinksSetEnabled.md)
- [SyntaxColoring.CopyButton.GetEnabled](SyntaxColoringCopyButtonGetEnabled.md)
- [SyntaxColoring.CopyButton.SetEnabled](SyntaxColoringCopyButtonSetEnabled.md)
- [SyntaxColoring.HelpMenu.SetEnabled](SyntaxColoringHelpMenuSetEnabled.md)
- [SyntaxColoring.ZoomButton.GetEnabled](SyntaxColoringZoomButtonGetEnabled.md)

### Blog Entries

- [Goodies 9: Zoom text in scripts](https://www.monkeybreadsoftware.com/filemaker/SyntaxColoring/09-Zoomtextinscripts.shtml)

This function is free to use.

Created 19th April 2017 , last changed 16th November 2023

  
[SyntaxColoring.ZoomButton.GetEnabled](SyntaxColoringZoomButtonGetEnabled.md) - [System.Logout](SystemLogout.md)

[HTML Version](SyntaxColoringZoomButtonSetEnabled.shtml)