[Xerte] Changing attributes of a ComboBox

Julian Tenney Julian.Tenney at nottingham.ac.uk
Thu Sep 17 09:43:08 BST 2009


The components are the old version 1 components that came with Flash
7(?) so google for the code and see if there is still Flash refernce out
there that covers them,

 

J

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Kent Chesnut
Sent: Thursday, September 17, 2009 2:55 AM
To: Xerte Mailing List
Subject: RE: [Xerte] Changing attributes of a ComboBox

 

Julian,
 
Thanks so much for your quick reply... that's just what I needed to
know!
 
Are these properties documented somewhere?  
 
Thanks, and have a great day,
Kent
 

________________________________

Subject: RE: [Xerte] Changing attributes of a ComboBox
Date: Wed, 16 Sep 2009 13:07:09 +0100
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk

cbo.setStyleProperty("background", 0xAABBCC);

cbo.setStyleProperty("selection", 0xAABBCC);

cbo.setStyleProperty("textColor", 0xAABBCC);

cbo.setStyleProperty("textSelected", 0xAABBCC);

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Kent Chesnut
Sent: Wednesday, September 16, 2009 12:58 PM
To: Xerte Mailing List
Subject: [Xerte] Changing attributes of a ComboBox

 

I'm trying to adjust the attributes of a combo box.  In flash, the code
would look something like this:
 
mycomb.color = 0x000000;
mycomb.setStyle("alternateRowColors", [0xffffff, 0xcccccc]);
mycomb.setStyle("textSelectedColor", 0xffffff);
mycomb.setStyle("backgroundColor", 0xffffff);
(where mycomb is the instance name of a standard flash combo box)
 
When I try to do similar calls in Xerte like:
 
RSCombo.setStyleProperty('backgroundColor', 0xffffff); 
(Where RSCombo is the rs of a standard Xerte combo box)
 
There is no effect.  I'm sure there's just some tidbit of information
that I'm missing... and I'd certainly appreciate any help.
 
Have a great day,
Kent 

________________________________

Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up
now. <http://clk.atdmt.com/GBL/go/171222985/direct/01/> 

 

________________________________

Hotmail: Powerful Free email with security by Microsoft. Get it now.
<http://clk.atdmt.com/GBL/go/171222986/direct/01/> 

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


More information about the Xerte mailing list