
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,
After creating an object CButton on a chart, to delete it from the chart I am using the Destroy function.
However, when creating an object CButton and adding it to CAppDialog, for some reason the Destroy function does not delete it from the chart:
I also tried:
// trying to remove CButton from CAppDialog Button_2.Destroy(); appDialog.Delete(Button_2);
But this also did not succeeded to delete the button.
I found that inorder to delete the button from CAppDialog I have to use the ObjectDelete function:
Does anybody know if there is other way/function to delete the button from CAppDialog/chart?