Filemaker Pro 8.5 Educational Maintenance T3 TJ083LL/A User Manual

Product codes
TJ083LL/A
Page of 238
Chapter 8
  
|
  Logical functions     133
GetLayoutObjectAttribute
Format
GetLayoutObjectAttribute(objectName;attributeName{;repetition 
Number})
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)
Parameters in curly braces {} are optional.
Data type returned
text
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.