+ 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