Discussion of article "How to create a graphical panel of any complexity level" - page 7
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
Hi, is it possible to create 2 or more CAppDialogs, and have its own event handling. E.g create a CAppDialog(Main Window) that opens other CAppDialogs(Sub Windows), would you be able to give us an example of that
I've never done this - I never needed to have more than one panel on a chart.
I've never done this - I never needed to have more than one panel on a chart.
Thanks Vladimir. I will try and create one using your guidelines and see how it behaves
Did anybody try to create a panel in a subwindow?
I did try but the panel was always created in the main chart?
Thank you very much for this very useful article.
I have a question - is there a simpler way to "bind" the panel to the place where I moved it? I mean, if I change the TF, the panel should be drawn where it was. So far the only thing that comes to mind on the timer to track the movement and write to the global. If the question has already been discussed somewhere, I will be very grateful for the link.
Thanks
on the timer to track the movement and write to the global
Better from the corresponding OnChartEvent. To global or to a file.
Better from the corresponding OnChartEvent. In the globals or in a file.
Thanks
Hello!
I have such a question - I would like to create several tabs on the trading panel, i.e. by pressing one button one set of items appears, by pressing another button another set of items appears. To hide elements from one tab I applied Hide() property for this element in onClick event handler of the tab button and the element is no longer visible on the panel, but it does not lose its properties and if you click on the place where this element was, then onEvent() of the panel will accept this event. Question - how to make the hidden element also did not react to any actions of the user. I tried to enable the property Element.Disable() again in the onClick method of the button tab, but nothing happens, the element as reacted to the button click so still reacts although invisible. How to switch it off programmatically by clicking on one tab and then switch it on programmatically by clicking on another tab?
Hello!
I have such a question - I would like to create several tabs on the trading panel, i.e. by pressing one button one set of items appears, by pressing another button another set of items appears. To hide elements from one tab I applied Hide() property for this element in onClick event handler of the tab button and the element is no longer visible on the panel, but it does not lose its properties and if you click on the place where this element was, then onEvent() of the panel will accept this event. Question - how to make the hidden element also did not react to any actions of the user. I tried to enable the property Element.Disable() again in the onClick method of the button tab, but nothing happens, the element as reacted to the button click so still reacts although invisible. How to switch it off programmatically by clicking on one tab and then switch it on programmatically by clicking on another tab?
Try deleting objects instead of hiding them.