Jump to content
Salesforce and other SMB Solutions are coming soon. ×

What is the Actve Tab


Recommended Posts

I am trying to hide/show text based on what tab is active. I am trying to use Get(ActiveLayoutObjectNane) to determine this, but I am missing some thing. I named the individual tabs in the Inspactor Name field. But the Get function doesn't read the names. However, the LayoutObjectNames function does show the individual tab names in the list that it returns. I am at a loss. Please help straighten me out. Thanks so much!

Edited by torch_55
Link to comment
Share on other sites

Tabs are not necessarily the active object on the layout even if they are the frontmost tab. For example, the active object may very well be a field on the tab that has been clicked into.


The function you need to use to find the front tab is GetLayoutObjectAttribute(""; "isFrontTabPanel")


This will return 1 if the tab is the frontmost tab. Insert the function into the "Hide object when" field in the Inspector for your desired hidden object.

Edited by doughemi
Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

Terms of Use