MQL Button UI not draw like button.

 

Dear Guys

I draw a button but when i click button it not draw like button. mean: when i click button it going down then again click it going up. but it going to up auto, how like button work:

 

After click: button going to show down. but it should be up auto.

 

 

is there any code that button work like original button work.

 

Thanks 

 
ObjectSet(sparam,OBJPROP_STATE,false);
 
honest_knave:


Thanks