Brian Dunning's FileMaker Custom Functions

tabsNestedFrontMost ( tabName )

Returns the number of parent tabs that are the front most tabs for its tab panel.

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

Sean Walsh   Sean Walsh
SolvEnterprises, LLC
http://www.solventllc.com/

Share on Facebook Share on Twitter

  Sample input:
tabsNestedFrontMost ( "Tab 3 B" )
  Sample output:
returns 2 if both it's parent and grandpartent are the front most tabs for their respective tab panels.

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

Returns the number of parent tabs that are the front most tabs for its tab panel.
It's main use is the custom function 'tabsFrontMost' which is dependent on this custom function.

Example:
'Tab 3 B' is nested inside 'Tab 2' which is in turn nested inside 'Tab 1.'
'Tab 1' is not nested inside any other tabs.

Results:
tabsNestedFrontMost ( "Tab 3 B" ) - returns 2 if both it's parent and grandpartent are the front most tabs for their respective tab panels.
tabsNestedFrontMost ( "Tab 3 B" ) - returns 1 if it's parent but not its grandparent is the front most tab for its respective tab panel.
tabsNestedFrontMost ( "Tab 3 B" ) - returns 1 if it's grandparent but not its parent is the front most tab for its respective tab panel.
tabsNestedFrontMost ( "Tab 3 B" ) - returns 0 if both it's parent and grandparent are not the front most tab for their respective tab panels.
tabsNestedFrontMost ( "Tab 1" ) - returns 0 because it is not nested.

 

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.