Libraries: EasyAndFastGUI library for creating graphical interfaces - page 26

 
Facundo Laje #:
Thanks, I will try. Let you know

It turned out to be an encoding problem and many files were not read correctly (not only the ones I passed to you in the archive above).

I will try to release an update for the script today. 

 
Anatoli Kazharski #:

It turned out to be an encoding problem and many files were not read correctly (not only the ones I passed to you in the archive above).

I will try to release an update for the script today. 

An update (version 2.1) with a fix has been published.

 
A new version of the EasyAndFastGUI v2.0 library for creating graphical interfaces has been released!

Please read the details on the library page in the code base: https: //www.mql5.com/zh/code/19703

Examples of ready-made graphical interfaces are shown in the screenshots below.




EasyAndFastGUI library for creating graphical interfaces
EasyAndFastGUI library for creating graphical interfaces
  • www.mql5.com
The EasyAndFastGUI library allows creating graphical interfaces for custom MQL programs.
 

An update(v2.13) has been released:

  • Auto-scaling of font on monitors with different resolutions.
  • Added multi-window mode. Now you can choose between free switching and modal mode (when no form can be opened while the current one is open).


 

An update has been released (v2.13):

  • Font autoscaling on monitors with different resolutions.
  • Added multi-window mode. Now you can choose between free switching and modal mode (when no form can be opened while the current one is open).

 

An update ( v2.13 ) is out.

  • Automatically scales fonts on monitors with different resolutions.
  • Added multi-window mode. Now you can choose between free switching and modal mode.


 

Hello, 

I trying to change default tables color Headers, i added the marked line into the SetDefaultParams. in this case with the intention to change to Blue.. But it is not working. it must be an obvious anwer, but i struggle with it... 

Thanks for help!



 
Facundo Laje #:

Hello, 

I trying to change default tables color Headers, i added the marked line into the SetDefaultParams. in this case with the intention to change to Blue.. But it is not working. it must be an obvious anwer, but i struggle with it... 

Thanks for help!

Thanks for the message!

There will be a fix in the next update.

As a temporary solution you can make changes in CTable::SetDefaultParameters() method:

...

m_headers_color = (m_headers_color != clrNONE)? m_headers_color : clrNONE;

...

You can do the same for the other colors of the table.

In this case, the color will not change when you change the theme (Light/Dark).

You can also set and override properties in the custom class in which you create the control. Because in classes with default properties, your changes will not save when the library is updated.

...
  CCoreCreate::CreateTable(m_table1, m_tabs1, 0, m_tabs1, tab4,
                           COLUMNS1_TOTAL, ROWS1_TOTAL,
                           10, 30, 270, 150,
                           true, false, 10, 0);
  
  m_table1.HeadersColor(clrBlue);
...
 
Anatoli Kazharski #:

Thanks for the message!

There will be a fix in the next update.

As a temporary solution you can make changes in CTable::SetDefaultParameters() method:

You can do the same for the other colors of the table.

In this case, the color will not change when you change the theme (Light/Dark).

You can also set and override properties in the custom class in which you create the control. Because in classes with default properties, your changes will not save when the library is updated

Thanks, It didn´t works. But I did this to fix: into static void CTheme::Light(void), directly changed the color, so I have the wanted color even changing the theme


 
Facundo Laje #:

Thanks, It didn´t works. But I did this to fix: into static void CTheme::Light(void), directly changed the color, so I have the wanted color even changing the theme

Yes, that's possible too! 👍

But I will still think about how to make a more universal solution so as not to make changes to the library code.

For example, this is now implemented in the CButton control, where if you want to set a different color, you have to specify that the button color is not tied to a color scheme:

m_button_sell.IsStaticColors(true);