In this article, I will continue the development of the ScrollBar control and start implementing the mouse interaction functionality. In addition, I will expand the lists of mouse state flags and events.
Compile the EA and launch it on the chart:
As we can see, the sliders are properly constrained within the scrollbar by the arrow buttons. The arrow buttons respond to clicks, the colors of the objects change according to the state of the object and the cursor during the interaction.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
New article DoEasy. Controls (Part 30): Animating the ScrollBar control has been published:
In this article, I will continue the development of the ScrollBar control and start implementing the mouse interaction functionality. In addition, I will expand the lists of mouse state flags and events.
Compile the EA and launch it on the chart:
As we can see, the sliders are properly constrained within the scrollbar by the arrow buttons. The arrow buttons respond to clicks, the colors of the objects change according to the state of the object and the cursor during the interaction.
Author: Artyom Trishkin