Functions Reference

Table Of Contents
Logical functions
F
ILEMAKER FUNCTIONS REFERENCE 226
GetLayoutObjectAttribute
Purpose
Returns the specified attributes of the layout object given by objectName that is 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 curly braces {} are optional.
Data type returned
text
Originated in
FileMaker Pro 8.5
Attributes
objectType - returns the object's type as a text literal, in English. Valid return values are: field, text,
graphic, line, rectangle, rounded rectangle, oval, group, button group, button, portal, tab panel, slide
panel, chart, web viewer, popover, popover button, and unknown.
hasFocus - returns 1 (True) if objectName is currently active, otherwise returns 0 (False). Objects
that can have the focus are fields, portals, tab panels, slide panels, buttons, popover buttons, charts,
and groups. Also returns 1 for a portal when a portal row is selected.
containsFocus - returns 1 (True) if objectName is currently active or if it contains an active
object; otherwise returns 0 (False). Objects that can contain the focus are fields, portals, tab panels,
slide panels, buttons, popover buttons, popovers, charts, and groups.
isFrontPanel - returns 1 (True) if the target object is the tab or slide panel that is in front.
The following object coordinates are given in points relative to the bottom-left corner of the
FileMaker menu bar:
bounds - returns a list of numeric values, separated by spaces, that describes the placement of the
specified object (left-top to right-bottom).
left - returns the left edge coordinate of the specified object.
right - returns the right edge coordinate of the specified object.
top - returns the top edge coordinate of the specified object.
bottom - returns the bottom edge coordinate of the specified object.
width - returns a number representing the width (in points) of the specified object.