Download MetaTrader 5

Dragging objects

To add comments, please log in or register
chinaski
890
chinaski  

It seems that dragging with mouse on CChartObject is only possible, when you hit a small square in top left corner of the object.

Q:  Is it possible to click ANYWHERE into an CChartObject and then allow to drag when mouse button down and mouse moves ?

So it would be far easier to hit an object for dragging.

Thank you 

phi nuts
2184
phi nuts  
chinaski:

It seems that dragging with mouse on CChartObject is only possible, when you hit a small square in top left corner of the object.

Q:  Is it possible to click ANYWHERE into an CChartObject and then allow to drag when mouse button down and mouse moves ?

So it would be far easier to hit an object for dragging.

Thank you 

You can use OnChartEvent with CHARTEVENT_OBJECT_DRAG, I never try that though :( 
To add comments, please log in or register