Functions Reference

Table Of Contents
126 FileMaker Functions Reference
Description
Returns the specified attributes of the layout object given by objectName that is
currently active in the calculation.
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, portal, tab panel, web viewer, 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, 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, and groups.
isFrontTabPanel - returns 1 (True) if the target object is the tab panel that is in front.
The following object coordinates are given in pixels 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 pixels) of the specified object.
height
- returns a number representing the height (in pixels) of the specified object.
rotation - returns a number representing the rotation (in degrees) of the specified
object.
startPoint,endPoint - returns a pair of numeric values (horizontal vertical),
separated by spaces, that represent the start point or end point of a line object. Other
objects will return the top left point for startPoint and the bottom right point for
endPoint.
source - returns the source description of the specified object as follows. For:
web viewers - returns current URL
fields - returns the fully qualified field name (table name::field name)
text objects - returns the text (does not return merge fields)
portals - returns the related table name
graphics - returns image data such as Container data type
For all other objects, returns an empty string.