sandyinlet Posted February 9, 2009 Share Posted February 9, 2009 For a scripted routine I need to evaluate the active tab (by it's name) on a tab panel. I may be barking up the wrong tree, I've been attempting to use the GetLayoutObjectAttribute — or else I'm just not seeing the solution when it's already in front of me. I'm sure this problem must be a no-brainer but this no-brain doesn't currently see it. Assistance appreciated. Link to comment Share on other sites More sharing options...
mr_vodka Posted February 9, 2009 Share Posted February 9, 2009 It is not dependent on what you have named each tab on the tab panel. It depends on what you named each tab in the "Object Name" field on the Info Palette. If [ GetLayoutObjectAttribute ( "Tab1" ; "isFrontTabPanel" ) ] Do something... Else If [ GetLayoutObjectAttribute ( "Tab2" ; "isFrontTabPanel" ) ] Do Something Else... Else If [ GetLayoutObjectAttribute ( "Tab3" ; "isFrontTabPanel" ) ] Do Something Else Too... End If Link to comment Share on other sites More sharing options...
sandyinlet Posted February 9, 2009 Author Share Posted February 9, 2009 Thanks, that was helpful. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 5555 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