Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • 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

I deleted your duplicate post in General Topic for v12.

 

Please do not multiple post your questions. 

The best thing is for you to create a simple example file of what you are doing and post it along with your questions.

  • Author
  • 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
 

The best thing is for you to create a simple example file of what you are doing and post it along with your questions.

There's two tab names.

 

One is the label you type in the tab setup dialog, in your case, "A" or "B".

 

The other is entered in the Position tab of the Inspector window.

 

The tab Get() functions pull the second name, not the first.

  • Author
  • 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.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.