Functions Reference

Table Of Contents
FILEMAKER FUNCTIONS REFERENCE 159
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, portal, tab panel, chart, 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 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 the fieldname of a Container field.
charts - returns the XML description of a chart object.
For all other objects, returns an empty string.