[Xerte] lazy question on drawRect

Paul Swanson Paul.Swanson at harlandfs.com
Thu Sep 30 23:22:19 BST 2010


ckbox.setStyleProperty('highlight', 0x00FF00);

ckbox.setStyleProperty('highlight3D', 0x00FF00);

 

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.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: Thursday, September 30, 2010 2:56 PM
To: Xerte list
Subject: RE: [Xerte] lazy question on drawRect

 

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.

The rs has a drawRect function, so I guess that's why it will accept the
direction.

There is a setStyleProperty and updateStyleProperty in the rs.
Are those for addressing text styles only, or can I goose them to affect
the drawRect?





________________________________

From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Thu, 30 Sep 2010 16:29:51 +0100
Subject: RE: [Xerte] lazy question on drawRect

Clear()

 

Then lineStyle()

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 30 September 2010 16:27
To: Xerte list
Subject: [Xerte] lazy question on drawRect

 


How do I change the colour of the outline of a code drawn artifact:


//engine[cboxArray[i]].beginFill(0xFF0000,100); //doesn't work
//engine[cboxArray[i]].lineStyle(3,0xFF0000,100); //doesn't work
engine[cboxArray[i]].drawRect(-3,-3,16,16);

Cheers,
Dave


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. 

_______________________________________________ Xerte mailing list
Xerte at 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. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20100930/e1438988/attachment.html


More information about the Xerte mailing list