<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle24
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle25
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle26
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle27
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Look in the help for FStyleFormat object for the combo box, then use setStyleProperty<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Try highlight? hightlight3D? focusRectInner? focusRectOuter? They look like the most obvious ones.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Ron Mitchell<br><b>Sent:</b> 17 August 2011 15:18<br><b>To:</b> 'Xerte discussion list'<br><b>Subject:</b> [Xerte] Re: hover colour on status bar menus<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:36.0pt'><span style='color:#1F497D'>Thanks although  I think it's textSelected e.g. the text above the hover colour. I had that set in styles.css but what was confusing was that <o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='color:#1F497D'>cbo.setStyleProperty("textSelected", STYLES.textSelected); didn't seem to be working so had to set cbo.setStyleProperty("textSelected", 0xffffff);<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='color:#1F497D'>Got it working now but just trying to find what I need to change to turn the border of the combo boxes off so that the status bar doesn't have the box lines?<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='color:#1F497D'>Cheers<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='color:#1F497D'>Ron<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><a name="_MailEndCompose"></a><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Julian Tenney<br><b>Sent:</b> 17 August 2011 13:50<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: hover colour on status bar menus<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:36.0pt'><span style='color:#1F497D'>STYLES.textUnselected<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:72.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Ron Mitchell<br><b>Sent:</b> 17 August 2011 13:46<br><b>To:</b> 'Xerte discussion list'<br><b>Subject:</b> [Xerte] Re: hover colour on status bar menus<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:72.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:72.0pt'><span style='color:#1F497D'>Cheers inbetween message had already got that bit working e.g. <o:p></o:p></span></p><p class=MsoNormal style='margin-left:72.0pt'><span style='color:#1F497D'>Changed<o:p></o:p></span></p><p class=MsoNormal style='margin-left:72.0pt'><span style='color:#1F497D'>STYLES.titleBarColour = titleBarColour=0x84A2C6; <o:p></o:p></span></p><p class=MsoNormal style='margin-left:72.0pt'><span style='color:#1F497D'>to <o:p></o:p></span></p><p class=MsoNormal style='margin-left:72.0pt'><span style='color:#1F497D'>STYLES.titleBarColour = 0x000000;<o:p></o:p></span></p><p class=MsoNormal style='margin-left:72.0pt'><span style='color:#1F497D'>Now I need to get the text above that to be white instead of black.<o:p></o:p></span></p><p class=MsoNormal style='margin-left:72.0pt'><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:72.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Julian Tenney<br><b>Sent:</b> 17 August 2011 13:23<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: hover colour on status bar menus<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:72.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:72.0pt'><span style='color:#1F497D'>Try setting STYLES.titleBarColour<o:p></o:p></span></p><p class=MsoNormal style='margin-left:72.0pt'><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:108.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Ron Mitchell<br><b>Sent:</b> 17 August 2011 13:21<br><b>To:</b> 'Xerte discussion list'<br><b>Subject:</b> [Xerte] Re: hover colour on status bar menus<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:108.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:108.0pt'><span style='color:#1F497D'>I've actually got titleBarColour set to black which is why all is fine when the LO first loads. I'm drawing a white box over the top of the titlebar area to keep that white. The problem only happens when selecting default from the menu but I can't find where that's going wrong. :-(<o:p></o:p></span></p><p class=MsoNormal style='margin-left:108.0pt'><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:108.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Julian Tenney<br><b>Sent:</b> 17 August 2011 13:12<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: hover colour on status bar menus<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:108.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:108.0pt'><span style='color:#1F497D'>Sorry, it’s because the colour used for the selection property is the one for titleBarColour, so you must have that set to white.<o:p></o:p></span></p><p class=MsoNormal style='margin-left:108.0pt'><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:144.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Ron Mitchell<br><b>Sent:</b> 17 August 2011 12:48<br><b>To:</b> 'Xerte discussion list'<br><b>Subject:</b> [Xerte] hover colour on status bar menus<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:144.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:144.0pt'>Hi<o:p></o:p></p><p class=MsoNormal style='margin-left:144.0pt'>I think I asked this once before but a long time ago and can't find it on the archives...<o:p></o:p></p><p class=MsoNormal style='margin-left:144.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:144.0pt'>I'm creating a custom theme which by default is mostly white. All is fine when the LO loads and when using the status bar menus the hover effect shows a black background with white text e.g.<o:p></o:p></p><p class=MsoNormal style='margin-left:144.0pt'><img width=205 height=150 id="Picture_x0020_1" src="cid:image001.jpg@01CC5CF1.BF40A3E0"><o:p></o:p></p><p class=MsoNormal style='margin-left:144.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:144.0pt'>If I select one of the other named colour schemes the hover effect works ok too e.g.<o:p></o:p></p><p class=MsoNormal style='margin-left:144.0pt'><img width=174 height=141 id="Picture_x0020_2" src="cid:image002.jpg@01CC5CF1.BF40A3E0"><o:p></o:p></p><p class=MsoNormal style='margin-left:144.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:144.0pt'>However If I select default via the colour scheme menu then the hover colour is white background and so doesn't show e.g.<o:p></o:p></p><p class=MsoNormal style='margin-left:144.0pt'><img width=144 height=156 id="Picture_x0020_3" src="cid:image003.jpg@01CC5CF1.BF40A3E0"><o:p></o:p></p><p class=MsoNormal style='margin-left:144.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:144.0pt'>I can't find a way to fix this either in XMLFramework or by script in the RLT. Any suggestions?<o:p></o:p></p><p class=MsoNormal style='margin-left:144.0pt'>Cheers<o:p></o:p></p><p class=MsoNormal style='margin-left:144.0pt'>Ron<o:p></o:p></p><p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p><p style='margin-left:108.0pt'>This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. <o:p></o:p></p><p style='margin-left:108.0pt'>This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. <o:p></o:p></p></div></body></html>