<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
ooh, ooh, Mr. Cahtah, Mr.Cahtah!<br><br>Way better than drawRect.<br><br>Found a few others. <br>Adding darkshadow has a nice effect.<br><br>//engine[cboxArray[i]].setStyleProperty("arrow", 0xFF0000);<br>engine[cboxArray[i]].setStyleProperty("highlight", 0xFFFFFF);<br>engine[cboxArray[i]].setStyleProperty("highlight3D", 0xFF0000);<br>//engine[cboxArray[i]].setStyleProperty("shadow", 0xFF99CC);<br>engine[cboxArray[i]].setStyleProperty("darkshadow", 0xFF0000);<br>//engine[cboxArray[i]].setStyleProperty("scrollTrack", 0xCC6666);<br>//engine[cboxArray[i]].setStyleProperty("face", 0xFFCCCC);<br><br><br>Thanks Paul. Nice nugget.<br><br><br><hr id="stopSpelling">Subject: RE: [Xerte] lazy question on drawRect<br>Date: Thu, 30 Sep 2010 15:22:19 -0700<br>From: Paul.Swanson@harlandfs.com<br>To: xerte@lists.nottingham.ac.uk<br><br>


<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">



<style>
.ExternalClass .ecxshape
{;}
</style>

<style>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxmsonormal, .ExternalClass li.ecxecxmsonormal, .ExternalClass div.ecxecxmsonormal
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxmsochpdefault, .ExternalClass li.ecxecxmsochpdefault, .ExternalClass div.ecxecxmsochpdefault
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxecxmsohyperlink
{;}
.ExternalClass span.ecxecxmsohyperlinkfollowed
{;}
.ExternalClass span.ecxecxemailstyle18
{;}
.ExternalClass p.ecxecxmsonormal1, .ExternalClass li.ecxecxmsonormal1, .ExternalClass div.ecxecxmsonormal1
{margin-right:0in;margin-bottom:0in;margin-left:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxecxmsohyperlink1
{color:blue;text-decoration:underline;}
.ExternalClass span.ecxecxmsohyperlinkfollowed1
{color:purple;text-decoration:underline;}
.ExternalClass span.ecxecxemailstyle181
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass p.ecxecxmsochpdefault1, .ExternalClass li.ecxecxmsochpdefault1, .ExternalClass div.ecxecxmsochpdefault1
{margin-right:0in;margin-left:0in;font-size:10.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxEmailStyle28
{font-family:'Calibri','sans-serif';color:#1F497D;font-weight:normal;font-style:normal;text-decoration:none none;}
.ExternalClass .ecxMsoChpDefault
{font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;}
.ExternalClass div.ecxWordSection1
{page:WordSection1;}

</style>





<div class="ecxWordSection1">

<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">ckbox.setStyleProperty('highlight', 0x00FF00);</span></p>

<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">ckbox.setStyleProperty('highlight3D', 0x00FF00);</span></p>

<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">I’m not sure of all the style property names, but the two
above will make at least part of the border of a checkbox green. I’m sure
there are some other style property names that will finish it off, if you can
find a list of property names somewhere.</span></p>

<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;</span></p>

<div style="border-width: medium medium medium 1.5pt; border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; padding: 0in 0in 0in 4pt;">

<div>

<div style="border-right: medium none; border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in 0in;">

<p class="ecxMsoNormal"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br>
<b>Sent:</b> Thursday, September 30, 2010 2:56 PM<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> RE: [Xerte] lazy question on drawRect</span></p>

</div>

</div>

<p class="ecxMsoNormal">&nbsp;</p>

<p class="ecxMsoNormal" style="margin-bottom: 12pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">Ok, I tried a dummy file and it looks like
when I try to draw into an rs (like a checkbox) the default colour is yellow
and lineweight 1.<br>
<br>
The rs has a drawRect function, so I guess that's why it will accept the
direction.<br>
<br>
There is a setStyleProperty and updateStyleProperty in the rs.<br>
Are those for addressing text styles only, or can I goose them to affect the
drawRect?<br>
<br>
<br>
<br>
</span></p>

<div class="ecxMsoNormal" style="text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">

<hr id="ecxstopSpelling" align="center" width="100%" size="2">

</span></div>

<p class="ecxMsoNormal" style="margin-bottom: 12pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From: Julian.Tenney@nottingham.ac.uk<br>
To: xerte@lists.nottingham.ac.uk<br>
Date: Thu, 30 Sep 2010 16:29:51 +0100<br>
Subject: RE: [Xerte] lazy question on drawRect</span></p>

<div>

<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">Clear()</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p>

<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p>

<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">Then lineStyle()</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p>

<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p>

<div>

<div style="border-right: medium none; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-color: -moz-use-text-color;">

<p class="ecxMsoNormal" style="margin-left: 0.5in;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"> xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br>
<b>Sent:</b> 30 September 2010 16:27<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> [Xerte] lazy question on drawRect</span></p>

</div>

</div>

<p class="ecxMsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">&nbsp;</span></p>

<p class="ecxMsoNormal" style="margin-right: 0in; margin-bottom: 12pt; margin-left: 0.5in;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"><br>
How do I change the colour of the outline of a code drawn artifact:<br>
<br>
<br>
//engine[cboxArray[i]].beginFill(0xFF0000,100); //doesn't work<br>
//engine[cboxArray[i]].lineStyle(3,0xFF0000,100); //doesn't work<br>
engine[cboxArray[i]].drawRect(-3,-3,16,16);<br>
<br>
Cheers,<br>
Dave</span></p>

</div>

<p class="ecxMsoNormal"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"><br>
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. <br>
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. <br>
<br>
_______________________________________________ Xerte mailing list
Xerte@lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte 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. 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. </span></p>

</div>

</div>




<br>_______________________________________________
Xerte mailing list
Xerte@lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

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.

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.                                               </body>
</html>