Your topic has been moved to the section: MQL4 and MetaTrader 4
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Hi
You can change the ChartEvent from Dialog/mqh – better to use our own copy of this script for the panel. But you can also use such functions as: CheckBox1.Checked() etc, for example:
if(id==CHARTEVENT_OBJECT_CLICK && sparam==C1_Name+"Button"){ //detect only click on the object) if(CheckBox1.Checked()) Print("Button pressed"); else Print("Button released"); }
Best regards
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hello all,
I tried to make a panel with a checkbox, It works well, but how can I catch the checkboxevent (is checked or not)
Some advices are apreciated, thank you
Greetings