Brian Dunning's FileMaker Custom Functions

tabsNestedLevel ( tabName )

Returns the level of nesting for a tab panel.

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

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

Share on Facebook Share on Twitter

  Sample input:
tabsNestedLevel ( "Tab 3 B" )
  Sample output:
2

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

Returns the level of nesting for a 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:
tabsNestedLevel ( "Tab 3 B ) - returns 2 because it's nested two deep.
tabsNestedLevel ( "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.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 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: