Form Malfunction

 

Hello!

When I attach AceTurn to chart it appears normally, but I cannot reach to ComboBox selections and also CheckButton don't take changes when pressed. What is wrong in my code? 

Files:
AceTurn.mq5  7 kb
 
How do you get events into your class?
yCForm frm;

int OnInit(){frm.Init(); frm.Show(10,60); return(0);
}

void OnDeinit(const int reason){ frm.Hide();
}
 
whroeder1:
How do you get events into your class?
Yes this way are looking out my OnInit and OnDeinit functions. On my another Form what is working correctly are also similar OnInit and OnDeinit functions, so I quess that problem is not there.
 
I have found what was wrong, OnChartEvent was absent. Now all works correctly! Thank you!
Reason: