February 9, 200917 yr 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.
February 9, 200917 yr 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
Create an account or sign in to comment