Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5595 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am looking for a script or custom function that will return the name of the frontmost tab. I have up to three levels of nesting, and by the frontmost tab, I mean the insidemost tab currently displayed.

So far, the following custom functions have failed to work for me, consistently returning the wrong tab name:

* SeedCode_FrontTabName (and the Faster version)

* tabsFrontmost (with related functions).

Does anybody have any suggestions for a more reliable solution? I'm amazed I can't get this to work.

Posted

OK, I've now also tried the custom function recommended in another thread, viz:

* frontTabs

This also returns the wrong tab name.

Mostly these functions fail by returning the enclosing rather than the enclosed tab. But some return a sibling.

Posted

OK. Now I have found a solution. I have quit from Filemaker and restarted it. Now the SeedCode function returns the correct value. This is a weird kind of crash in Filemaker in which only the custom functions stop working. And they don't stop working altogether, they just start returning the wrong results. It happened to me once before in FM9, and now I have had it in FM10!

Posted

Try these:

http://www.fmfunctions.com/fid/217

or

http://www.fmfunctions.com/fid/97

Posted

I have quit from Filemaker and restarted it. Now the SeedCode function returns the correct value.

How are you testing this? Keep in mind that even an unstored calculation field may not refresh when tab panels are switched.

Posted (edited)

There's a button (not on any of the tabs). When I click it, it is supposed to get the name of the frontmost tab and hold it as a variable. It's that step that was failing - so no fields involved at all.

Edited by Guest

This topic is 5595 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.