How to avoid dragging lines behind the dialog / window New comment jocafi 2022.07.08 23:01 Dear mql coders, how could I avoid dragging lines behind the dialog / window ? 1) I do not want to move or drag accidentally the stop loss or take profit behind the CDialog. 2) I do not want to move or drag accidentally the object (line in green) behind the CDialog. The line in green was created using the following settings among others settings that are not interesting for this case: ObjectSetInteger(chart_ID,name,OBJPROP_BACK,true); ObjectSetInteger(chart_ID,name,OBJPROP_SELECTABLE,true); ObjectSetInteger(chart_ID,name,OBJPROP_ZORDER, -1); Thanks ! How to drag AppDialog window without Dialog (added to AppDialog) to be moved Questions from Beginners MQL5 MT5 MetaTrader 5 Workable but nagging issue w/CDialog -- mouse events and drags flow through to the chart New comment
Dear mql coders,
how could I avoid dragging lines behind the dialog / window ?
1) I do not want to move or drag accidentally the stop loss or take profit behind the CDialog.
2) I do not want to move or drag accidentally the object (line in green) behind the CDialog.
The line in green was created using the following settings among others settings that are not interesting for this case:
Thanks !