Brian Dunning's FileMaker Custom Functions

GetObjectHeight ( ObjectName )

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

  Average rating: 4.4 (27 votes) Log in to vote

Wolfgang Wunderlich   Wolfgang Wunderlich
DeskTop
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

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 20 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: