Discussion of article "Graphical Interfaces IX: The Progress Bar and Line Chart Controls (Chapter 2)" - page 3

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
Anatol, can you tell me if it is possible to dynamically change the process description in the progress bar?
Suppose we have some array of symbol names. We loop through this array and get the character names. Then each symbol is processed by the programme to get data from it. The overall cycle is displayed by one progress bar, but I would like to display the process of processing each individual symbol. Accordingly, and sign the name of the process "processing CMG", then, when processing the next, already write another name of the process: "processing EQIX", etc.
It is not known in advance what symbols may be in the array - i.e. it will not be possible to prepare a bunch of progress bars, and it is not optimal with more than a thousand names of different symbols....
Anatol, can you tell me if it is possible to dynamically change the process description in the progress bar?
Suppose we have some array of symbol names. We loop through this array and get the character names. Then each symbol is processed by the programme to get data from it. The overall cycle is displayed by one progress bar, but I would like to display the process of processing each individual symbol. Accordingly, and sign the name of the process "processing CMG", then, when processing the next, already write another name of the process: "processing EQIX", etc.
You don't know in advance what symbols may be in the array - i.e. you can't prepare a bunch of progress bars, and it's not optimal with more than a thousand names of different symbols....
Right now there is no such method. In the next update I will add this feature for each element that has a text description. That is, it will be possible to change the text after the item is created.
Thanks, looking forward to it ;)
Question: in your examples you have this code for building a progress bar:
what is the sign of the dropdown element for:
m_progress_bar.IsDropdown(true);
???
Question: you have this code for building a progress bar in your examples:
what is the purpose of the dropdown element trait:
???
To avoid showing the progress bar when the form is expanded, when it should not be visible.
Does this apply to any objects that can be built using your library?
Dynamically changing progress bar properties does not work.
For example, I wanted to change the colour:
Zero response. Apparently, in the Update method, in addition to changing the index and total values, it is necessary to specify the other m_indicator_color and so on. Otherwise these methods are not applied anywhere except during creation. Or was this the way it was intended?
... Otherwise, these methods don't apply anywhere except at creation. Or was that the way it was intended?
Yes, this is a temporary version. Soon (in the next few articles) there will be massive updates for all controls, where you can change any property at runtime.
That's excited. In the meantime, I found a temporary solution:
You all to this gold combat shouting single group 172218684 172218684 , will continue to earn profits, single here shouting Verification - strength is priceless!
Liar