Functions Reference

Table Of Contents
Logical functions
F
ILEMAKER FUNCTIONS REFERENCE 241
GetLayoutObjectAttribute
Purpose
Returns the specified attributes of the layout object given by the objectName currently active in the
calculation.
Format
GetLayoutObjectAttribute(objectName;attributeName{;repetitionNumber;
portalRowNumber})
Parameters
objectName - the name of a named layout object on the current layout.
attributeName - the name of a supported attribute (see below).
repetitionNumber - the repetition number (for repeating fields).
portalRowNumber - the number of the row in the portal.
Note Parameters in braces { } are optional.
Data type returned
text
Originated in
FileMaker Pro 8.5
Attributes
Attribute Returns
Data type
returned
objectType The object's type, in English. text
hasFocus 1 if objectName has focus; otherwise, returns 0.
Objects that can have the focus are fields, portals, tab
panels, slide panels, buttons, popover buttons,
popevers, charts, and groups. Also returns 1 for a portal
when a portal row is selected.
number
containsFocus 1 if objectName has focus or if it contains an object
that has focus; otherwise, returns 0. Objects that can
contain the focus are fields, portals, tab panels, slide
panels, button bars, buttons, popover buttons,
popovers, charts, and groups.
number
isFrontPanel 1 if the target object is the tab or slide panel that is in
front.
number
isActive 1 if the target object is currently active; otherwise,
returns 0.
number