Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Background color for messages in message tab
 Post subject: Background color for messages in message tab Post rating: 0   New post Posted: Thu 14 Oct, 2010, 07:09 
User avatar

User rating: 3
Joined: Wed 18 May, 2011, 16:25
Posts: 331
Location: SwitzerlandSwitzerland
Dear support,

I've seen that it is possible to use font colors for text in the messages tab.
context.getConsole().getOut().println("<html><font color=\"#CC0033\">Test colored output</font>");


How about background colors? Is it possible to set them too in the strategy code? What are html-tags to use?
I've tried <tr bgcolor=...> and <td bgcolor=...>, but it didn't work.

Thanks for any hint.
Best, RR.


 
 Post subject: Re: Background color for messages in message tab Post rating: 0   New post Posted: Fri 15 Oct, 2010, 08:22 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi,
yes it's possible:
context.getConsole().getOut().println("<html><div style=\"background-color:yellow;width:200px;\">Test</div>");


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com