function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
cignuscignus 

VF page tab focus problem

Hi

I have created a custom page and a tab for it. When I select the tab, everything goes well except that tab is not highlighted. Sometimes another tab gets highlighted and sometimes not tab.

Cheers

 

Best Answer chosen by Admin (Salesforce Developers) 
Devendra@SFDCDevendra@SFDC

 

Hi,

 

Is this a visualforce tab?

 

If yes then try,

 

<apex: page tabStyle="TabName__tab">

 

</apex:page>

 

If the tab related to custom object then try,

 

<apex:page tabstyle=""CustomObject__c">

 

</apex:page>

 

Hope this helps :)

 

Thanks,

Devendra

All Answers

Devendra@SFDCDevendra@SFDC

 

Hi,

 

Is this a visualforce tab?

 

If yes then try,

 

<apex: page tabStyle="TabName__tab">

 

</apex:page>

 

If the tab related to custom object then try,

 

<apex:page tabstyle=""CustomObject__c">

 

</apex:page>

 

Hope this helps :)

 

Thanks,

Devendra

This was selected as the best answer
cignuscignus

It was a VF tab. the __tab fixed the problem.

Thanks