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
Also uses "input" from user-interaction - Get(WindowContentHeight)
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
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.