Dragging Rectangle label like a window interface. What class to use ? - page 2

 
TomQL:

Thank You very much nichlishen! You are totally right. That was exactly what I was looking for.


Thank You


No worries.

 
TomQL:

Hello,


Can anyone please tell me how to create a Label Rectangle that acts like a window ? Meaning that it can be dragged when it is touched (preferably in the top part of it like in a normal window)


The normal Rectangle label or Rectangle don't have the ability to be dragged, but for the rectangle label one can drag it if it is selected and also touched from the center. 


This is surely something that needs classes. I'd appreciate it if someone can help me with this ?


Thank you. 

I can't understand the difficulty on answer this simple question...

You can use the standard library.


https://www.mql5.com/en/docs/standardlibrary/controls/cappdialog

Documentation on MQL5: Standard Library / Panels and Dialogs / CAppDialog
Documentation on MQL5: Standard Library / Panels and Dialogs / CAppDialog
  • www.mql5.com
CAppDialog - Panels and Dialogs - Standard Library - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Reason: