
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
As a developer I was very frustrated too for not having control over such a useful property, which is backcolor.
Searched the possibilities, and, even not being an OOP expert, decided take the chances and change the TextBox control, including this public method:
void SetBackColor(const color clr) { m_back_color=clr; }
Now it is very easy setting the TextBox background color:
CTextEdit m_txt;
m_txt.GetTextBoxPointer().SetBackColor(clrYellow);
You can try this method to add to your derived CAppDialog class:
then use it in EA after the creation of AppDialog:
If use Objects Total with ObjecSetInteger I can use OBJPROR_COLOR and OBJPROP_BGCOLOR. This is an example that use in my indicators and EA´s: