Brian Dunning's FileMaker Custom Functions

GetObjectWidth ( ObjectName )

Returns height of a LayoutObject. Helps to calculate the height of non-field-objects like WebViewer or Object-Groups

  Average rating: 4.6 (22 votes) Log in to vote

Wolfgang Wunderlich   Wolfgang Wunderlich
DeskTop Organisation GmbH
http://www.dto.de

Share on Facebook Share on Twitter

  Sample input:
GetObjectHeigth ( "WebViewer.Maps")
  Sample output:
425 - when GetLayoutObjectAttribute ("WebViewer.Maps"; "bounds") returns: 5 345 795 770 0

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Uses the GetLayoutObjectAttribute function:

GetLayoutObjectAttribute ("WebViewer.Maps"; "bounds") returns something like: 5 345 795 770 0
Values are 1-left 2-top 3-right 4-bottom 5:?

Corresponds with the CF "GetObjectWidth"

 

Comments

unix   unix, Japan
Feb 15, 2015
5th value may be rotation degree. see FieldBounds
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth:

Under construction. Email me your wish list for improvements.