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 - Show more from this author
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.

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.