Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
11.5
12.0
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
Statistic
FMM
Blog
FM.CurrentLayoutName
Queries name of current layout.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
FM | 10.2 | ✅ 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" ) & " " & MBS( "FM.CurrentLayoutName" ) ]
See also
Release notes
- Version 10.2
- Added FM.CurrentLayoutID, FM.CurrentLayoutName, FM.LayoutIDForLayoutName, FM.LayoutNameForLayoutID and FM.LayoutNames matching similar functions for scripts.
Blog Entries
This function does not need a paid license.
Created 8th April 2020, last changed 19th April 2020
