Jump to content

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

Recommended Posts

  • Newbies

In FM 12 Advanced
 
I cannot get the Tab Panel Script Trigger script to return a Tab Panel Object Name using either of the Get functions:
 
Get(TriggerCurrentTabPanel) or Get(TriggerTargetTabPanel)
 
I have used the GetValue(Get(TriggerCurrentTabPanel);2) but it returns nothing. Using the same function GetValue(Get(TriggerCurrentTabPanel);1) returns the Panel Tab Number.

 

 

I've watched videos of people doing this and I've copied examples but cannot get it to work.

 

Anyone have a suggestion?

 

Thanks,

 

Jesse

Filemaker Pro 12 Advanced 

Mac OS X 10.8

Link to comment
Share on other sites

  • Newbies

Here's a screenshot of a simple 2 tab layout. Tab 1 is "A" and Tab2 is "B". As you can see from the Dataviewer, the 2 Get functions return only the tab number and not the tab name when using the OnTabSwitch Script Trigger. I've tried this on several different layouts of varying complexity with the same result. Although I'm new to FM scripting I've studied all available instructions for using the Tab Panel script trigger and Get functions and cannot see where I'm doing anything wrong. 
 

8540815758_9f024c93fa.jpg
 

Link to comment
Share on other sites

  • Newbies

Thank you David.

 

I knew it was something simple and I just couldn't find it, There seems to be only oblique references to the "Inspector" which I took to be the Tab Panel Setup.

 

Gave myself a headache over this one.

Link to comment
Share on other sites

This topic is 4058 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.