How to you set the color of an ActionItem text - actionbarsherlock

Using themes, how do you set the color of the text of an ActionItem? I can change the text color of the title, sub-title, and tabs but not the action items.

Use the actionMenuTextColor theme attribute!
It's defined as such:
<!-- Color for text that appears within action menu items. -->
<attr name="actionMenuTextColor" format="color|reference" />

Related

How to change the style of CComboBox scrollbar in MFC

I want to change the style of scrollbar of CComboBox. I can only change the selected item and background of dropbox, but haven't found any way to change the default style of scrollbar.
And is there any way to get the index of the current item shown on dropbox, so that I can draw my own scrollbar?

Mailchimp Color picker change preset colors

Is there a way to set the color presets in Mailchimp's Color picker?
The color picker on the HTML template I created comes with a set of 5 defined colors and I'd like to have control over these colors.

I want to openTBS for dynamic highlighting of a paragraphs and lines of a docx that I am downloading from my website

Haven't found any tips on stack or on the documentation thus far. Any tips? Please note that I'm not using a table for the hightlighting
In Ms Word, the highlighting feature can only apply a limited number of predetermined colors :
yellow, green, cyan, magenta, blue
red, darkBlue, darkCyan, darkGreen, darkMagenta
darkRed, darkYellow, darkGray, lightGray, black
none
The Highlighting is different from the Shading which can apply any background color, including theme's colors. The highlighting color is applied over the shading color if any.
Now, OpenTBS can change any of those properties (highlighting or shading) since it is preexisting in the template. That is OpenTBS cannot create highlighting or shading background, it can only change the color (or turn it to no color).
In the DOCX, the XML element for an existing highlighting is placed in head of the highlighted snippet and is like this:
<w:highlight w:val="darkRed"/>
The XML element for an existing shading is placed in head of the colored snippet and is like this:
<w:shd w:val="clear" w:color="auto" w:fill="FF6600"/>
So now, the solution for having dynamic highlighting with OpenTBS is this :
In the template, select the part of text to have the dynamic highlighting, and add any highligh to it.
Inside the text, add a TBS tag with the "att" parameter: [myblock.mycolor_name,att=w:highlight#w:val]
At the PHP side, make sure the column mycolor_name have always a value in the list of color given above. This can be assured using a ondata custom function.
For having dynamic shading, it is quite the same :
In the template, select the part of text to have the dynamic shading , and add any color on it. Use only Standard color, not Theme colors, because the XML is a bit different for Theme colors.
Inside the text, add a TBS tag with the "att" parameter: [myblock.mycolor_value,att=w:shd#w:val]
At the PHP side, make sure the column mycolor_value have always a value wich is a hexa color value (like in HTML) . This can be assured using a ondata custom function.

Can the background color of Text Editor be changed in Tableau?

I do have a dark themed tableau dashboard where the fonts will be white in color. whenever I try to edit the text in textbox, the editor pops with white as its background color (font color is also white so I cant see the text). Is there any option that I can change the background color of the text editor ?
Can you post a screenshot? When I change the color I get the same matching color in the text boxes:

JScolor action during color change

I am using jscolor and I want to change the body background accoring to the selected color during color selection. What part of jscolor should I edit?
http://jscolor.com/try.php
Onchange event
use the following code you can change body background color.
<p>Change background:
<input class="color"
onchange="document.getElementsByTagName('BODY')[0].style.backgroundColor = '#'+this.color">
</p>

Resources