SyntaxColoring.SetRememberColumnWidths
--------------------------------------

Whether to remember column widths.

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

MBS( "SyntaxColoring.SetRememberColumnWidths"; Value ) 

**MBS**( **"SyntaxColoring.SetRememberColumnWidths";** /\* Whether to remember column widths. \*/  
**$Value**) /\* The new setting.  
Pass 1 to enable or 0 to disable.  
Default is 1 to enable.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The new setting.   Pass 1 to enable or 0 to disable.   Default is 1 to enable. | 1 |

### Result

Returns OK or error.

### Description

Whether to remember column widths.  
This setting can be set via the preferences dialog, too.  
### Examples

Disable column width saving:

 MBS ( "SyntaxColoring.SetRememberColumnWidths"; 0 )  
Enable column width saving:

 MBS ( "SyntaxColoring.SetRememberColumnWidths"; 1 )  
### See also

- [SyntaxColoring.GetRememberColumnWidths](SyntaxColoringGetRememberColumnWidths.md)

### Release notes

- **Version 8.5**
    - Added [SyntaxColoring.GetRememberColumnWidths](http://www.mbsplugins.eu/SyntaxColoringGetRememberColumnWidths.shtml) and [SyntaxColoring.SetRememberColumnWidths](http://www.mbsplugins.eu/SyntaxColoringSetRememberColumnWidths.shtml) functions.

### Blog Entries

- [Goodies 11: Remember column widths](https://www.monkeybreadsoftware.com/filemaker/SyntaxColoring/11-Remembercolumnwidthsfortablesfieldslayoutsandcustomfunctions.shtml)

This function is free to use.

Created 27th October 2018 , last changed 11st November 2019

  
[SyntaxColoring.SetRelationGraphSearchBoxPreferredSize](SyntaxColoringSetRelationGraphSearchBoxPreferredSize.md) - [SyntaxColoring.SetScriptHighlightColor](SyntaxColoringSetScriptHighlightColor.md)

[HTML Version](SyntaxColoringSetRememberColumnWidths.shtml)