Discussion of article "Graphical Interfaces X: Updates for Easy And Fast Library (Build 3)"

 

New article Graphical Interfaces X: Updates for Easy And Fast Library (Build 3) has been published:

The next version of the Easy And Fast library (version 3) is presented in this article. Fixed certain flaws and added new features. More details further in the article.

On the first tab, all controls will be anchored to the right side of the form (see the screenshot below). If the form width is changed, they will remain at the same distance from its right edge. 

 Fig. 4. Controls of the first tab are anchored to the right side of the form.

Fig. 4. Controls of the first tab are anchored to the right side of the form.

Author: Anatoli Kazharski

 
Great library! I'm sure I'll express everyone's opinion - THANK YOU!
 
Looks cool, thanks!
 

All the fun is yet to come. )

But what we have now can be used in some of our projects.

 
Anatoli Kazharski:

Will there be a mini manual on how to use the current version of the library without learning all the previous articles?

 
Pavel Kolchin:

Will there be a mini-manual on how to use the current version of the library without studying all the previous articles?

Yes, but only after the main part of the library and all necessary functionality will be formed.
 
Anatoli Kazharski:
Yes, but only after the main part of the library and all the necessary functionality is formed.

Anatoly, I asked the question in private. A couple of days ago:


We have a button with a tooltip bound to it.

After clicking on the button, it is programmatically made ButtonState(false)

and after that the tooltip, which is bound to this button, is constantly on the chart.

I wanted to put tracking of element activity into the OnEvent() handler of Tooltip.mqh, but elements have no method to get the state - locked/active. There are only IsVisible() and IsDropdown().

I wanted to do something similar to this check

//--- Exit if the item is hidden
      if(!CElement::IsVisible())
         return;

to do something like this:

//--- Hide the hint and exit if the item is locked
      if(!CElement::IsState())
         //--- Hide tooltip and exit
         FadeOutTooltip();
         return;

But alas... Is there any possibility to check the active/locked state for elements? Maybe there already is, but I'm looking in the wrong place?

However, not every element can have this state.... Or every element?
Can you say something?
 
Artyom Trishkin:

...


Can you tell me anything?

I can't tell you anything yet, as I'm dealing with other tasks.

If there are problems that cannot be solved by yourself, it is better to wait for me to do it. I remember this problem and it's marked on my list.

 
Anatoli Kazharski:

I can't give you any advice yet, as I am dealing with other tasks.

If there are problems that cannot be solved by yourself, it is better to wait for me to do it. I remember this problem and it is marked on my list.

Okay, thank you.
 

I have downloaded the Zip and unpacked to a fresh MT5.

 

I don´t know what happened, but it seems there is a major problem with the unpacked ZIP !
I had to remove about 700 unwanted Chars in different Files and Folders (pls refer Screenshot)

Would be nice, if someone could reup fixed Files, that not everybody who downloads this has to use a Replace program to solve it by himself :)

However, for now I have also attached the fixed ZIP  and also fixed the "double Quotes" Issue from "Menuitem.mqh" around line 290


 Issue Image

Files:
 
marquez:

...

Thank you for message. I wrote to the editor. They responded that fix and replace files.