Brian Dunning's FileMaker Custom Functions

HidePortalScroll ( dph ; dprc ; dwch ; id_portalRecord )

Hide portal scroll bar unless extra data rows are hidden

  Average rating: 4.5 (31 votes) Log in to vote

David Sparrow   David Sparrow
Sparrow Design

Share on Facebook Share on Twitter

  Sample input:
HidePortalScroll ( 250; 10; 800; Table_relatedTable::id_primary )

Also uses "input" from user-interaction - Get(WindowContentHeight)
  Sample output:
1 or "" (null)

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

Use in Conditional formatting on "transperant object", so if Result is "1" make the object Fill = White (hides portal scroll bar)

Assumes portal is set to enlarge vertically while maintaining orig. row height - i.e…display addtl. portal rows when it grows vertically.

// dph = default portal height as layout object
// dprc = default portal row count
// dwch = default window content height
// id_portalRecord = ID_Field in Related Portal Table



Log in to post comments.


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

Under construction. Email me your wish list for improvements.