Discussion of article "MQL as a Markup Tool for the Graphical Interface of MQL Programs. Part 1" - page 6

 
Stanislav Korotky:

I've never had the urge to specifically press a button and drag without pushing it. It's not a very obvious use case after all.

It happens spontaneously from time to time.

 
Andrey Khatimlianskii:

Happens spontaneously from time to time.

Moreover, it should be provided in case the user pressed the mouse, but then changed his mind to press the button, in this case he takes the mouse away from the button and releases it, the button is not pressed.

[Deleted]  
Dmitry Fedoseev:

Moreover, it should be provided in case the user pressed the mouse, but then changed his mind to press the button, in this case he takes the mouse away from the button and releases it, the button is not pressed.

This can be done several times. Spinning around the object of the desired. The main thing is to change the logic of actions constantly) Not to be "readable". So that the exploit is "backwards" )

 
This is the kind of fix for the button.
Files:
Button.mqh  8 kb