Brian Dunning's FileMaker Custom Functions

GetFrontPanels

Return object name(s) of every frontmost panel(s) on current layout.

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

Koji Takeuchi   Koji Takeuchi
TonicNote, Inc.
https://tonic-note.com

Share on Facebook Share on Twitter

  Sample input:
GetFrontPanels
  Sample output:
tab1-2
tab2-3
slide1-1

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

GetFrontPanels
2016.10.21, Koji Takeuchi


description:
Return object name(s) of every frontmost panel(s) on current layout.
ex1:
GetFrontPanels
-> "tab1-2¶tab2-3¶slide1-1"

# When there are 2 tab controls and 1 slide control on current layout, this function will return every object names of frontmost panels of each controls.

 

Comments

Lee Smith   Lee Smith
Oct 25, 2016
I’m having a problem with testing your Function, it doesn’t seem to like this Parameter
List ( NAME_FRONT_PANEL ; GetFrontPanels ) ;

Maybe you could post an example file to help me follow your explanation?
 
Koji Takeuchi   Koji Takeuchi, TonicNote, Inc.
Oct 31, 2016
Hi Lee,

The "List" part is the recursion part of this function.
What kind of problem do you have?

Have you set object names on every panel object? It's required.
 

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.