<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Julian,<BR>
&nbsp;<BR>
Thanks so much for your quick reply... that's just&nbsp;what I needed to know!<BR>
&nbsp;<BR>
Are these properties documented somewhere?&nbsp; <BR>
&nbsp;<BR>
Thanks, and have a great day,<BR>
Kent<BR>&nbsp;<BR>
<HR id=stopSpelling>
Subject: RE: [Xerte] Changing attributes of a ComboBox<BR>Date: Wed, 16 Sep 2009 13:07:09 +0100<BR>From: Julian.Tenney@nottingham.ac.uk<BR>To: xerte@lists.nottingham.ac.uk<BR><BR>
<STYLE>
.ExternalClass .EC_shape
{;}
</STYLE>

<STYLE>
.ExternalClass p.EC_MsoNormal, .ExternalClass li.EC_MsoNormal, .ExternalClass div.EC_MsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass a:link, .ExternalClass span.EC_MsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.EC_MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.EC_EmailStyle18
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass .EC_MsoChpDefault
{font-size:10.0pt;}
@page Section1
{size:612.0pt 792.0pt;}
.ExternalClass div.EC_Section1
{page:Section1;}
</STYLE>

<DIV class=EC_Section1>
<P class=EC_MsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">cbo.setStyleProperty("background", 0xAABBCC);</SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">cbo.setStyleProperty("selection", 0xAABBCC);</SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">cbo.setStyleProperty("textColor", 0xAABBCC);</SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">cbo.setStyleProperty("textSelected", 0xAABBCC);</SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">&nbsp;</SPAN></P>
<DIV>
<DIV style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<P style="MARGIN-LEFT: 36pt" class=EC_MsoNormal><B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt" lang=EN-US>From:</SPAN></B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt" lang=EN-US> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <B>On Behalf Of </B>Kent Chesnut<BR><B>Sent:</B> Wednesday, September 16, 2009 12:58 PM<BR><B>To:</B> Xerte Mailing List<BR><B>Subject:</B> [Xerte] Changing attributes of a ComboBox</SPAN></P></DIV></DIV>
<P style="MARGIN-LEFT: 36pt" class=EC_MsoNormal>&nbsp;</P>
<P style="MARGIN-BOTTOM: 12pt; MARGIN-LEFT: 36pt; MARGIN-RIGHT: 0cm" class=EC_MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt">I'm trying to adjust the attributes of a combo box.&nbsp; In flash, the code would look something like this:<BR>&nbsp;<BR>mycomb.color = 0x000000;<BR>mycomb.setStyle("alternateRowColors", [0xffffff, 0xcccccc]);<BR>mycomb.setStyle("textSelectedColor", 0xffffff);<BR>mycomb.setStyle("backgroundColor", 0xffffff);<BR>(where mycomb is the instance name of a standard flash combo box)<BR>&nbsp;<BR>When I try to do similar calls in Xerte like:<BR>&nbsp;<BR>RSCombo.setStyleProperty('backgroundColor', 0xffffff); <BR>(Where RSCombo is the rs of a standard Xerte combo box)<BR>&nbsp;<BR>There is no effect.&nbsp; I'm sure there's just some tidbit of information that I'm missing... and I'd certainly appreciate&nbsp;any&nbsp;help.<BR>&nbsp;<BR>Have a great day,<BR>Kent&nbsp;</SPAN></P>
<DIV style="TEXT-ALIGN: center; MARGIN-LEFT: 36pt" class=EC_MsoNormal align=center><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt">
<HR align=center SIZE=2 width="100%">
</SPAN></DIV>
<P style="MARGIN-LEFT: 36pt" class=EC_MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt">Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. <A href="http://clk.atdmt.com/GBL/go/171222985/direct/01/">Sign up now.</A></SPAN></P></DIV><br /><hr />Hotmail: Powerful Free email with security by Microsoft. <a href='http://clk.atdmt.com/GBL/go/171222986/direct/01/' target='_new'>Get it now.</a></body>
</html>