Jump to content
Server Maintenance This Week. ×

Returning the name of the active tab


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

Recommended Posts

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

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

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