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

Recommended Posts

Posted (edited)

When I created a Tab set in layout I expected there would be some simple option in the tab setup panel that says (on click) go to Layout. No such thing. Where do I go from here? I just want to click a tab to go to another layout. FMPro 15.

Without much knowledge I created a transparent button overlay, the first tab works fine, the second one on the target layout I have to click hard or twice for it to work (no idea why) but in the rollover state it goes opaque which seems to be related to its default theme.

 

 

Edited by VirtualBob
Posted (edited)
1 hour ago, VirtualBob said:

expected there would be some simple option in the tab setup panel

There is no such option because it is an unusual requirement. The purpose of a tab control object is to divide an area of the layout on which it is placed into several sub-areas and the tabs are meant to switch between those, not to serve as buttons. As a user I would be very much surprised and confused by the behavior you describe.

Still, you could accomplish your goal in at least 2 ways:

1. Use a slide control and make your own tabs using a button bar;

2. Use the OnPanelSwitch script trigger in conjunction with the Get(TriggerTargetPanel) function.

 

Edited by comment
Posted

Thanks for that, I guess I'm going for the quick and dirty option by changing layouts. Its just a personal database, but I should learn the proper way at some stage.

Posted

Hi Bob, if you click a tab and it changes layouts then you will never see anything you put ON a tab except for the first (default) tab.  Button bar is the tool you seek!  😃

button bar.jpg

Posted

I thought the request was to have the tabs function normally (i.e. switch between panels) except one that would serve as a button. That's why I made the suggestions above.

Upon reread, it seems @VirtualBob wants the entire tab control object to be used merely for navigation between layouts. That would certainly be the wrong tool for this purpose.

This is somewhat ironic: before we had tab controls, we used to simulate them by a row of buttons that switched between layouts, giving the appearance of switching between panes. Here we have the exact opposite of that.

 

Posted

Thanks everyone - I'm showing my age, having started off in FM v1 and being savvy in FMP 4, so I don't always keep up with what's new and just fudge along until something works. Yes I think the button bar is what I should be using. Tabs just looked nice 🙂

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.