Discussion of article "Graphical Interfaces X: Text selection in the Multiline Text box (build 13)" - page 12

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
While performing the task of dynamically adding/removing tabs and adding/removing charts to the array of tabs, I encountered the problem of impossibility to get the name of tabs in the CTabs class. In this regard, I suggest the developer to supplement this class with a method to get the tab name:
Adding this method is necessary due to the fact that even inheriting from the CTabs class in order to complement the missing methods, it will be impossible to implement the overloaded Text method, because the m_tab[] object is in the protected area of the class. And to edit the class to suit yourself violates the OOP principle....
@Pavel Kolchin, to prevent arrows from deals from hanging above the panel use CWndEvents::ResetWindow() method.
where to put it?
Try OnTrade().
I can't, it fails.
There is no such event in the menu file, but if you insert it into the main file, it fails.
I can't, it fails
There is no such event in the menu file, but if you paste it into the main file, it fails.
You need to create a CProgram::OnTradeEvent() method in the custom application class.
And in the main file it should be called in the OnTrade() function:
//---
For example, I have this content of the CProgram::OnTradeEvent() method:
I can't figure out how to bind element_2, e.g. a table to the lower edge of element_1, e.g. the same table, i.e. element_1 is above element_2. As a result, it is necessary that when the size of the chart changes, the lower boundary of element_1 would be shifted and the upper boundary of element_2 would be shifted after it. There are methods AutoYResizeMode and AutoYResizeBottomOffset in the library, but I can't figure out how to implement the displacement of the upper boundaries.
There are also methods for binding elements:
//---
Try to solve the problem in combination with these properties.