Newer Version Available
setTabTextStyle()
Sets a cascading style sheet (CSS) on a specified
tab’s text. If a tab is not specified, the CSS is set on the enclosing
tab’s text. Use this method to customize a tab’s text style. This method is only available in API version 28.0 or
later.
Syntax
Arguments
Sample Code–Visualforce
Response
This method is asynchronous, so it returns its response in an object in a callback method. The response object contains the following field:
| Name | Type | Description |
|---|---|---|
| success | boolean | true if setting the tab’s text style was successful, false if setting the tab’s text style wasn’t successful. |