Reference > Functions reference > Get functions > Get(ActiveLayoutObjectName)
 
Get(ActiveLayoutObjectName)
Purpose 
Returns the name of the layout object that has the focus in the calculation's current window.
Format 
Get(ActiveLayoutObjectName)
Parameters 
None
Data type returned 
text
Originated in 
FileMaker Pro 8.5
Description 
When no layout object has the focus, this function returns an empty string.
Notes 
Clicking a button, a popover button, or a panel control does not give it the focus. To give one of these objects the focus, you must press Tab or perform the Go to Object script step to navigate to a button, tab panel, or slide panel.
Examples 
There is a named field on the current layout called customerName. When the focus is on the field, Get(ActiveLayoutObjectName) returns customerName.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas
Naming objects