[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Default backgound color

Posted on 2008-10-09
1
Medium Priority
?
304 Views
Last Modified: 2008-10-10
Lets say you want to set the background color of your application to this

Application.application.setStyle("backgroundColor",0xFFFFFF);

what what i want to do is also set the background color to the default gradient look how would i do this.
0
Comment
Question by:stargateatlantis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 19

Accepted Solution

by:
Gary Benade earned 2000 total points
ID: 22684692
Application.application.setStyle("backgroundGradientColors",[0XFF0000,0X00FF00]);

Personally I try to avoid using Application.application:
StyleManager.getStyleDeclaration("Application").setStyle("backgroundGradientColors",[0XFF0000,0X00FF00]);

If you've set the backgroundcolor and just want it back to default, set it all to undefined

Application.application.setStyle("backgroundColor",undefined);
Application.application.setStyle("backgroundGradientColors",undefined);
//or
StyleManager.getStyleDeclaration("Application").setStyle("backgroundColor",undefined);
StyleManager.getStyleDeclaration("Application").setStyle("backgroundGradientColors",undefined);
0

Featured Post

Looking for the Wi-Fi vendor that's right for you?

We know how difficult it can be to evaluate Wi-Fi vendors, so we created this helpful Wi-Fi Buyer's Guide to help you find the Wi-Fi vendor that's right for your business! Download the guide and get started on our checklist today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
Working from home is a dream for many people who aren’t happy about getting up early, going to the office, and spending long hours at work. There are lots of benefits of remote work for employees.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question