BAAIII Posted January 11, 2007 Share Posted January 11, 2007 I just upgraded to FM 8.5. I want to know which tab (1 -4) is in front. How can this be done. Link to comment Share on other sites More sharing options...
Søren Dyhr Posted January 11, 2007 Share Posted January 11, 2007 You do it the other way 'round ...you make a script that take you to a certain tab: http://www.filemaker.com/help/Script-Steps21.html --sd Link to comment Share on other sites More sharing options...
Raybaudi Posted January 11, 2007 Share Posted January 11, 2007 Hi for example, if you have a text field named: "CurrentTab", with this script: Set Field [CurrentTab; Case( GetLayoutObjectAttribute ( 1 ; "isFrontTabPanel" );1; GetLayoutObjectAttribute ( 2 ; "isFrontTabPanel" );2; GetLayoutObjectAttribute ( 3 ; "isFrontTabPanel" );3; GetLayoutObjectAttribute ( 4 ; "isFrontTabPanel" );4 )] Link to comment Share on other sites More sharing options...
BAAIII Posted January 15, 2007 Author Share Posted January 15, 2007 Thanks Daniele, I'll give it a whirl. Link to comment Share on other sites More sharing options...
JerrySalem Posted January 24, 2007 Share Posted January 24, 2007 Thanks for this great tip! I have been trying to get this done for a couple of weeks now using get active layout object and acouple of other techniques. This is The Right Way. Jerry Link to comment Share on other sites More sharing options...
1Adam12 Posted February 13, 2007 Share Posted February 13, 2007 That is nifty. I was just trying to come up with a method for this. Works like a charm. Thanks, Danielle! Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6291 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 accountSign in
Already have an account? Sign in here.
Sign In Now