Functions Reference

Table Of Contents
Logical functions
F
ILEMAKER PRO FUNCTIONS REFERENCE 234
Notes
In FileMaker WebDirect, when this function acts on a web viewer or a chart, the content
and
source attributes return an empty string.
If objects are set to auto-resize, attributes returned are based on the resized bounds of the
object in its current state.
If objects are located above the status toolbar, negative coordinate values are returned.
When repetitionNumber or portalRowNumber is 0, the function behaves as if the
parameter was not specified. For
portalRowNumber, the function returns data from the
first portal row. For
repetitionNumber, the function acts on the first repetition (for
returning
content or source) or acts on the entire field as a whole (for returning bounds).
Both parameters are necessary because you must be able to reference a particular field
repetition within a particular portal row.
Example 1
Stores a web viewer's current URL in the Search::Homepage field.
Set Field [Search::Homepage ; GetLayoutObjectAttribute ( "Web Viewer" ;
"source" )]
content The content of the specified object as follows.
web viewers - returns the current content (such as HTML
code).
fields - returns the field data formatted using the specified
object's properties.
text objects - returns the text (including text from merge
fields).
graphics - returns image data, such as the name of a file
in a
container field if the image is stored (in the field or
externally), or the reference to the file if the image is
unstored.
charts - returns the bitmap representation of a chart
object.
buttons and popover buttons - returns the button’s text.
all other objects - returns an empty string.
text
enclosingObject The objectName of the enclosing layout object;
otherwise, returns an empty string. Only groups, tab
panels, slide panels, button bars, popover buttons,
popovers, and portals can contain other objects.
text
containedObjects A list of named objects contained within objectName.
Only groups, tab panels, slide panels, button bars,
popover buttons, popovers, and portals can contain other
objects.
text
Attribute Returns
Data type
returned