Can I forbid selecting objects?

Back to topics list To post a new topic, please log in or register
avatar
372
mar 2015.03.16 13:27
 

I  use an indicator plotting round levels on my charts. But when I plot a normal horizontal line and I want to move or delete it it often happens that I select the round number line instead of the horizontal line I wanted to select. So I would like to avoid that any round number line can be selected. Therefore I want to know if it is possible to "forbid" selecting a line.

Thanks! 

avatar
10
Boyan 2015.03.16 17:49 #
 

Hi mar.....

 ObjectSetInteger(chartID,object_name,OBJPROP_SELECTABLE,false); 
avatar
372
mar 2015.03.16 20:27 #
 

Huh, I didn't even know that this object property exists... :D

Thank you very much! Works perfect. 

Back to topics list  

To add comments, please log in or register