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.5 (4 votes) Log in to vote

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

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: