Window.IsModified
-----------------

Queries whether document has been modified.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Window](component_Window.md) | [1.1](newinversion11.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "Window.IsModified"; WindowRef ) 

**MBS**( **"Window.IsModified";** /\* Queries whether document has been modified. \*/  
**$WindowRef**) /\* Window Reference is the unique OS level window ID. You can obtain this by using the [Window.FindByTitle](WindowFindByTitle.md) or [Window.FindByIndex](WindowFindByIndex.md) functions. Pass zero to access the frontmost window.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| WindowRef | Window Reference is the unique OS level window ID. You can obtain this by using the [Window.FindByTitle](WindowFindByTitle.md) or [Window.FindByIndex](WindowFindByIndex.md) functions. Pass zero to access the frontmost window. | 0 |

### Description

Queries whether document has been modified.  
In many OS X applications OS a little dark red dot inside the Red Close button signifies that a window has been modified. FileMaker normally doesn't use this.  
Returns 1 if window is marked modified or 0 if not.  
### See also

- [Window.FindByIndex](WindowFindByIndex.md)
- [Window.FindByTitle](WindowFindByTitle.md)
- [Window.IsMaximized](WindowIsMaximized.md)
- [Window.IsMinimized](WindowIsMinimized.md)
- [Window.SetModified](WindowSetModified.md)

This function is free to use.

Created 18th August 2014 , last changed 8th August 2021

  
[Window.IsMinimized](WindowIsMinimized.md) - [Window.IsVisible](WindowIsVisible.md)

[HTML Version](WindowIsModified.shtml)