Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

I have Tab Control with two tabs (Tab1 and Tab2). I set script trigger (OnTabSwitch). This script checks whether the user can change the tabs. How to prevent user from switching a tab.

( I have FMA12 )

Posted

Edit your layout and select each tab in the control. In the Inspector, give each tab a unique name. Then, in your script, use the Go To Object step to send them back to the first tab if they don't have access to the tab they clicked on.

Posted

I have Tab Control with two tabs (Tab1 and Tab2). I set script trigger (OnTabSwitch). This script checks whether the user can change the tabs. How to prevent user from switching a tab.

( I have FMA12 )

If the test fails and you dont want them to be able to switch the tab then use

Exit script [ 0 ]

Posted

There are 2 videos that provide tips on how to use script OnTabSwitch that if you haven't watched yet might be helpful to you. Unfortunately, I can't seem to paste the link without the video media showing as ready to play. Therefore, I have pasted them as code in hopes that it won't post as videos.











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