Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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 is free to use.
Created 8th April 2020, last changed 19th April 2020