Yes see https://www.mql5.com/en/docs/objects/objectdeleteall
ObjectsDeleteAll();
- www.mql5.com
Good Morning everyone,
In MQL4 It is possible to group objects so that when I click on one of them and press del, all of them are deleted like they were a single object?
It's not clear if you're asking about programming (MQL) or using UI (clicking on charts and pressing keys). If it's the latter, you can select multiple objects on chart (clicking one by one). Then you can delete them in a batch.
Please note that Options | Objects dialog affects how the selection works.I am speaking about programming.
What I am doing is creating a manual fibonacci indicator, and I want the user to be able to select one of the lines of my fibonacci and delete the whole fibonacci. SO is there a way to group objects so that the user can click on one of them and delete the group?
I am speaking about programming.
What I am doing is creating a manual fibonacci indicator, and I want the user to be able to select one of the lines of my fibonacci and delete the whole fibonacci. SO is there a way to group objects so that the user can click on one of them and delete the group?
Yes.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Good Morning everyone,
In MQL4 It is possible to group objects so that when I click on one of them and press del, all of them are deleted like they were a single object?
Thanks in advance,
Luca