FM.CurrentLayoutName
--------------------

Queries name of current layout.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [FM](component_FM.md) | [10.2](newinversion102.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "FM.CurrentLayoutName" ) ### Parameters

none

### Result

Returns layout name.

### Description

Queries name of current layout.  
Result is empty if no layout is running.  
### Examples

Show layout ID and name:

 Show Custom Dialog \[ "Layout" ; MBS ( "[FM.CurrentLayoutID](FMCurrentLayoutID.md)" ) &amp; " " &amp; MBS ( "FM.CurrentLayoutName" ) \]  
### See also

- [FM.CurrentLayoutID](FMCurrentLayoutID.md)
- [FM.CurrentScriptName](FMCurrentScriptName.md)

### Release notes

- **Version 10.2**
    - Added [FM.CurrentLayoutID](https://www.mbsplugins.eu/FMCurrentLayoutID.shtml), [FM.CurrentLayoutName](https://www.mbsplugins.eu/FMCurrentLayoutName.shtml), [FM.LayoutIDForLayoutName](https://www.mbsplugins.eu/FMLayoutIDForLayoutName.shtml), [FM.LayoutNameForLayoutID](https://www.mbsplugins.eu/FMLayoutNameForLayoutID.shtml) and [FM.LayoutNames](https://www.mbsplugins.eu/FMLayoutNames.shtml) matching similar functions for scripts.

### Blog Entries

- [MBS FileMaker Plugin, version 10.2pr3](https://www.mbsplugins.de/archive/2020-04-14/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 8th April 2020 , last changed 19th April 2020

  
[FM.CurrentLayoutID](FMCurrentLayoutID.md) - [FM.CurrentScriptID](FMCurrentScriptID.md)

[HTML Version](FMCurrentLayoutName.shtml)