Brian Dunning's FileMaker Custom Functions

FrontTabPanelNames ( param )

Get the objectnames of all the frontmost panels on a layout or from the given list on the current layout

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

Menno van Beek   Menno van Beek
Van Beek Zakelijke Software
https://www.vbzs.nl

Share on Facebook Share on Twitter

  Sample input:
FrontTabPanelNames ( "" )
  Sample output:
Entry
Planning

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

This function returns a list of objectnames on a layout for which the function:
GetLayoutObjectAttribute ( object ; "isFrontTabPanel" ) = True

This function assumes that tabpanels that contain other (named) tabpanel(s) all have an object name. Only the visible tabpanels will be listed.

You can call the function with an empty parameter and it will determine the list of objects by itself. You can also provide a list yourself, if you have a very large amount of named objects.

The function uses head-recursion, so you can have no more than 9999 objects in the initial list

 

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.