Brian Dunning's FileMaker Custom Functions

GetScrollPosition ( PortalName ; ObjectName ; PRN ; fountCount )

Get scroll position (top, bottom, and active no in it.

  Average rating: 4.1 (11 votes) Log in to vote

Ole Kristian Ek Hornnes   Ole Kristian Ek Hornnes
ProgramDesign
https://programdesign.no

Share on Facebook Share on Twitter

  Sample input:
GetScrollPosition("aPortal";"anObjectInPortal¶"; count(PortalRelation::ID))
  Sample output:
10¶20¶5 - Scrolled to top position 10, bottom 20, and active element is number 5 from scroll top

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

/*

Parametere:
- Portalnavn - A object name for the portal
- Objektnavn - A object name found inside the portal.
- PRN - Portal row number for active ellement.
- foundCount - Number of records in selection.

Returns 3 values , one value on each line.
- Top Portal Row Number
- Bottom Portal Row Number
- Relative number for Active portal row number in portal dvs 1,2,3… independent of scroll posisjon.

*/

 

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.

Under construction. Email me your wish list for improvements.