Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Window.SetModified
Sets the modified state of the window.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Window | 1.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "Window.SetModified"; WindowRef; On or Off ) More
Parameters
Parameter | Description | Example |
---|---|---|
WindowRef | Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. | 0 |
On or Off | 0 |
Description
Sets the modified state of the window.On Mac OX, a window has a "Modified" State. If the content's of a window have been modified the Red Close button shows this by displaying a dark center. This function gives you control over that setting. Normally FileMaker window's do not display the modified state of a the window.
Examples
Clear modified flag for front window:
MBS( "Window.SetModified"; 0; 1 )
See also
This function checks for a license.
Created 18th August 2014, last changed 25th November 2019