[Xerte] Changing attributes of a ComboBox
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Wed Sep 16 13:07:09 BST 2009
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/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20090916/a6f67540/attachment.html
More information about the Xerte
mailing list